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 {None | Email}] [-Permissions {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 {None | Email}] [-Permissions {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.
-SID <string> The SID of a user or group to add to the farm as an administrator.
-Email <string> The user email address.
-Mobile <string> The user mobile phone number.
-Enabled <bool> Enables or disables this administrator in the farm.
-Notify <AdminNotify> Set the "Receive system notifications via" option. Possible values are: "None", "Email".
Possible values: None, Email
-FullPermissions <bool> Enable or disable the "Full Permissions" option.
-Permissions <PermissionType> Specifies the type of permission to use.
Possible values: PowerAdmin, RootAdmin, CustomAdmin
-AllowSiteChanges <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow Site changes" option.
-AllowPublishingChanges <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow Publishing changes" option.
-AllowConnectionChanges <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow Connection changes" option.
-AllowViewingReportingInfo <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow viewing of RAS Reporting" option.
-AllowViewingSiteInfo <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow viewing of Site Information" option.
-AllowViewingPolicyInfo <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow viewing of Policy Information" option.
-AllowSessionManagement <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow Session Management" option.
-AllowDeviceManagementChanges <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow Device Management changes" option.
-AllowPolicyChanges <bool> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions.
Enable or disable the "Allow Policy changes" option.
-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.
-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.
<CommonParameters>
INPUTS
-none-
OUTPUTS
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
Last updated