New-RASAdminAccount

NAME

New-RASAdminAccount

SYNOPSIS

Adds a Parallels RAS administrator account to the farm.

SYNTAX

New-RASAdminAccount [-Name] <string> [-AllowAllSites <bool>] [-AllowConnectionChanges <bool>] [-AllowDeviceManagementChanges <bool>] [-AllowInSites <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewingPolicyInfo <bool>] [-AllowViewingReportingInfo <bool>] [-AllowViewingSiteInfo <bool>] [-Email <string>] [-Enabled <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Notify <AdminNotify> {None | Email}] [-Permissions <PermissionType> {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParameters>]

New-RASAdminAccount [-SID] <string> [-AllowAllSites <bool>] [-AllowConnectionChanges <bool>] [-AllowDeviceManagementChanges <bool>] [-AllowInSites <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewingPolicyInfo <bool>] [-AllowViewingReportingInfo <bool>] [-AllowViewingSiteInfo <bool>] [-Email <string>] [-Enabled <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Notify <AdminNotify> {None | Email}] [-Permissions <PermissionType> {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParameters>]

DESCRIPTION

Adds a RAS administrator account to the farm.

PARAMETERS


-Name <string>
The name of a user or group to add to the farm as an administrator.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SID <string>
The SID of a user or group to add to the farm as an administrator.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Email <string>
The user email address.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Mobile <string>
The user mobile phone number.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Enabled <bool>
Enables or disables this administrator in the farm.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Notify <AdminNotify>
Set the "Receive system notifications via" option. Possible values are: "None", "Email".

Possible values: None, Email

        Required?                    false
        Position?                    named
        Default value                Email
        Accept pipeline input?       false
        Accept wildcard characters?  false

-FullPermissions <bool>
Enable or disable the "Full Permissions" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Permissions <PermissionType>
Specifies the type of permission to use.

Possible values: PowerAdmin, RootAdmin, CustomAdmin

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowSiteChanges <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Site changes" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowPublishingChanges <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Publishing changes" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowConnectionChanges <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Connection changes" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowViewingReportingInfo <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow viewing of RAS Reporting" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowViewingSiteInfo <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow viewing of Site Information" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowViewingPolicyInfo <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow viewing of Policy Information" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowSessionManagement <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Session Management" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowDeviceManagementChanges <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Device Management changes" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowClientManagementChanges <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Device Management changes" option.

This is an alias of the AllowDeviceManagementChanges parameter.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowPolicyChanges <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "Allow Policy changes" option.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowAllSites <bool>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Enable or disable the "All Sites" option. If enabled, the administrator can manage all sites in the farm.

        Required?                    false
        Position?                    named
        Default value                True
        Accept pipeline input?       false
        Accept wildcard characters?  false

-AllowInSites <Site[]>
Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.

Specifies the list of site names (string array) which this administrator should be allowed to manage.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

-none-

OUTPUTS

AdminAccount

EXAMPLES


---------- EXAMPLE 1 ----------

New-RASAdminAccount "Jane"

Adds user Jane to the farm as an administrator.

Since no additional options are specified, the default settings and permissions will be used.

---------- EXAMPLE 2 ----------

New-RASAdminAccount -Name "Jane" -AdminNotification None -FullPermissions $false

Adds user Jane to the farm as an administrator.

Modifies the "Receive system notification" option to "None".

Disables the "Full Permissions" option, which means that permissions can be set individually (all are enabled by default).

RELATED LINKS