Set-RASAdminAccount

NAME

Set-RASAdminAccount

SYNOPSIS

Modifies Parallels RAS administrator account settings.

SYNTAX

Set-RASAdminAccount [-Idarrow-up-right] <uint> [-AllowAllSitesarrow-up-right <bool>] [-AllowConnectionChangesarrow-up-right <bool>] [-AllowDeviceManagementChangesarrow-up-right <bool>] [-AllowInSitesarrow-up-right <Site[]arrow-up-right>] [-AllowPolicyChangesarrow-up-right <bool>] [-AllowPublishingChangesarrow-up-right <bool>] [-AllowSessionManagementarrow-up-right <bool>] [-AllowSiteChangesarrow-up-right <bool>] [-AllowViewingPolicyInfoarrow-up-right <bool>] [-AllowViewingReportingInfoarrow-up-right <bool>] [-AllowViewingSiteInfoarrow-up-right <bool>] [-Emailarrow-up-right <string>] [-Enabledarrow-up-right <bool>] [-FullPermissionsarrow-up-right <bool>] [-Mobilearrow-up-right <string>] [-Notifyarrow-up-right {None | Email}] [-Permissionsarrow-up-right {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParametersarrow-up-right>] Set-RASAdminAccount [-InputObjectarrow-up-right] <AdminAccountarrow-up-right> [-AllowAllSitesarrow-up-right <bool>] [-AllowConnectionChangesarrow-up-right <bool>] [-AllowDeviceManagementChangesarrow-up-right <bool>] [-AllowInSitesarrow-up-right <Site[]arrow-up-right>] [-AllowPolicyChangesarrow-up-right <bool>] [-AllowPublishingChangesarrow-up-right <bool>] [-AllowSessionManagementarrow-up-right <bool>] [-AllowSiteChangesarrow-up-right <bool>] [-AllowViewingPolicyInfoarrow-up-right <bool>] [-AllowViewingReportingInfoarrow-up-right <bool>] [-AllowViewingSiteInfoarrow-up-right <bool>] [-Emailarrow-up-right <string>] [-Enabledarrow-up-right <bool>] [-FullPermissionsarrow-up-right <bool>] [-Mobilearrow-up-right <string>] [-Notifyarrow-up-right {None | Email}] [-Permissionsarrow-up-right {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParametersarrow-up-right>] Set-RASAdminAccount [[-Namearrow-up-right] <string>] [-AllowAllSitesarrow-up-right <bool>] [-AllowConnectionChangesarrow-up-right <bool>] [-AllowDeviceManagementChangesarrow-up-right <bool>] [-AllowInSitesarrow-up-right <Site[]arrow-up-right>] [-AllowPolicyChangesarrow-up-right <bool>] [-AllowPublishingChangesarrow-up-right <bool>] [-AllowSessionManagementarrow-up-right <bool>] [-AllowSiteChangesarrow-up-right <bool>] [-AllowViewingPolicyInfoarrow-up-right <bool>] [-AllowViewingReportingInfoarrow-up-right <bool>] [-AllowViewingSiteInfoarrow-up-right <bool>] [-Emailarrow-up-right <string>] [-Enabledarrow-up-right <bool>] [-FullPermissionsarrow-up-right <bool>] [-Mobilearrow-up-right <string>] [-Notifyarrow-up-right {None | Email}] [-Permissionsarrow-up-right {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParametersarrow-up-right>]

DESCRIPTION

Modifies settings of a Parallels RAS administrator account. For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a corresponding parameter and its value.

PARAMETERS

-Name <string> Parallels RAS administrator user or group name.

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

-Id <uint> Parallels RAS administrator account ID. To obtain the ID, use the Get-RASAdminAccount cmdlet.

-InputObject <AdminAccountarrow-up-right> An object representing a Parallels RAS administrator account. To obtain the object, use the Get-RASAdminAccount command."

-Email <string> Parallels RAS administrator email address.

-Mobile <string> Parallels RAS administrator mobile phone number.

-Enabled <bool> Enable or disable the specified administrator account.

-Notify <AdminNotifyarrow-up-right> Specifies a method for system notifications. Possible values are: "None", "Email". Possible values: None, Email

-Permissions <PermissionTypearrow-up-right> Type of Permission Possible values: PowerAdmin, RootAdmin, CustomAdmin

-FullPermissions <bool> Whether to grant the specified administrator full permissions in the farm. If set to False, permissions can be set individually.

-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. Otherwise, sites can be specified individually.

-AllowInSites <Site[]arrow-up-right> Deprecated: use 'Set-RASPowerPermission' to set power admin permissions. A list of site names (a string array) which the administrator should be allowed to manage.

<CommonParameters>

INPUTS

AdminAccountarrow-up-right

OUTPUTS

-none-

EXAMPLES

---------- EXAMPLE 1 ---------- Set-RASAdminAccount -Name "Jane" -Enable $False Disables the specified administrator account. ---------- EXAMPLE 2 ---------- Set-RASAdminAccount -Id 3 -Enable $False Disables an administrator account specified by ID. To obtain IDs of administrator accounts, use the Get-RASAdminAccount cmdlet. ---------- EXAMPLE 3 ---------- Set-RASAdminAccount $Admin -Enable $True Enables an administrator account specified by the $Admin variable, which is an object of type RASAdminAccount. The object is obtained using the Get-RASAdminAccount cmdlet. ---------- EXAMPLE 4 ---------- Get-RASAdminAccount -Id 3 | Set-RASAdminAccount -Enable $True Enables an administrator account represented by a RASAdminAccount object obtained from the pipeline output.

Last updated