Set-RASAdminAccount

NAME

Set-RASAdminAccount

SYNOPSIS

Modifies Parallels RAS administrator account settings.

SYNTAX

Set-RASAdminAccount [[-Name] <string>] [-AdminNotification <AdminNotify> {None | Email}] [-AllowAllSites <bool>] [-AllowClientManagementChanges <bool>] [-AllowConnectionChanges <bool>] [-AllowInSite <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewReporting <bool>] [-AllowViewSiteInfo <bool>] [-Email <string>] [-Enable <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Permissions <PermissionType> {SiteAdmin | FarmAdmin | CustomAdmin}] [<CommonParameters>]

Set-RASAdminAccount [-Id] <uint> [-AdminNotification <AdminNotify> {None | Email}] [-AllowAllSites <bool>] [-AllowClientManagementChanges <bool>] [-AllowConnectionChanges <bool>] [-AllowInSite <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewReporting <bool>] [-AllowViewSiteInfo <bool>] [-Email <string>] [-Enable <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Permissions <PermissionType> {SiteAdmin | FarmAdmin | CustomAdmin}] [<CommonParameters>]

Set-RASAdminAccount [-InputObject] <RASAdmin> [-AdminNotification <AdminNotify> {None | Email}] [-AllowAllSites <bool>] [-AllowClientManagementChanges <bool>] [-AllowConnectionChanges <bool>] [-AllowInSite <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewReporting <bool>] [-AllowViewSiteInfo <bool>] [-Email <string>] [-Enable <bool>] [-FullPermissions <bool>] [-Mobile <string>] [-Permissions <PermissionType> {SiteAdmin | FarmAdmin | CustomAdmin}] [<CommonParameters>]

DESCRIPTION

The Set-RASAdminAccount cmdlet is used to modify 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.

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

-InputObject <RASAdmin>
An object representing a Parallels RAS administrator account.

To obtain the object, use the Get-RASAdminAccount command."

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

-Email <string>
Parallels RAS administrator email address.

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

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

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

-Enable <bool>
Enables or disables the specified administrator account.

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

-AdminNotification <AdminNotify>
Specifies a method for system notifications. Possible values are: "None", "Email".

Possible values: None, Email

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

-Permissions <PermissionType>
Possible values: SiteAdmin, FarmAdmin, CustomAdmin

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

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

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

-AllowSiteChanges <bool>
Enables or disables the "Allow Site changes" option.

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

-AllowPublishingChanges <bool>
Enables or disables the "Allow Publishing changes" option.

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

-AllowConnectionChanges <bool>
Enables or disables the "Allow Connection changes" option.

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

-AllowViewReporting <bool>
Enables or disables the "Allow viewing of RAS Reporting" option.

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

-AllowViewSiteInfo <bool>
Enables or disables the "Allow viewing of Site Information" option.

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

-AllowSessionManagement <bool>
Enables or disables the "Allow Session Management" option.

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

-AllowClientManagementChanges <bool>
Enables or disables the "Allow Client Management changes" option.

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

-AllowPolicyChanges <bool>
Enables or disables the "Allow Policy changes" option.

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

-AllowAllSites <bool>
Enables or disables the "All Sites" option. If enabled, the administrator can manage all sites in the farm. Otherwise, sites can be specified individually.

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

-AllowInSite <Site[]>
A list of site names (a string array) which the 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

PSAdmin.RASAdmin

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 RASAdmin.

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 RASAdmin object obtained from the pipeline output.

RELATED LINKS