Set-RASAdminAccount
NAME
Set-RASAdminAccount
SYNOPSIS
Modifies Parallels RAS administrator account settings.
SYNTAX
Set-RASAdminAccount [-Id] <uint> [-Email <string>] [-Enabled <bool>] [-Mobile <string>] [-Notify {None | Email}] [-Permissions {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParameters>]
Set-RASAdminAccount [-InputObject] <AdminAccount> [-Email <string>] [-Enabled <bool>] [-Mobile <string>] [-Notify {None | Email}] [-Permissions {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParameters>]
Set-RASAdminAccount [[-Name] <string>] [-Email <string>] [-Enabled <bool>] [-Mobile <string>] [-Notify {None | Email}] [-Permissions {PowerAdmin | RootAdmin | CustomAdmin}] [<CommonParameters>]
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.
-Id <uint> Parallels RAS administrator account ID.
To obtain the ID, use the Get-RASAdminAccount cmdlet.
-InputObject <AdminAccount> 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 <AdminNotify> Specifies a method for system notifications. Possible values are: "None", "Email".
Possible values: None, Email
-Permissions <PermissionType> Type of Permission
Possible values: PowerAdmin, RootAdmin, CustomAdmin
<CommonParameters>
INPUTS
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.
RELATED LINKS
Last updated