Set-RASPowerPermission
Modifies the permissions of a RAS Power admin account.
Set-RASPowerPermission [-AdminId] <uint> [-AllowAllSites <bool>] [-AllowConnectionChanges <bool>] [-AllowDeviceManagementChanges <bool>] [-AllowInSiteIds <uint[]>] [-AllowInSites <Site[]>] [-AllowPolicyChanges <bool>] [-AllowPublishingChanges <bool>] [-AllowSessionManagement <bool>] [-AllowSiteChanges <bool>] [-AllowViewingPolicyInfo <bool>] [-AllowViewingReportingInfo <bool>] [-AllowViewingSiteInfo <bool>] [<CommonParameters>]
Modifies the permissions of a RAS Power admin account. For each setting, the cmdlet has a corresponding input parameter. To modify a setting, specify a corresponding parameter and its value.
-AdminId <uint> Admin ID to retrieve the specified RAS Power Administrator Account.
-AllowSiteChanges <bool> Enable or disable the "Allow Site changes" option.
-AllowPublishingChanges <bool> Enable or disable the "Allow Publishing changes" option.
-AllowConnectionChanges <bool> Enable or disable the "Allow Connection changes" option.
-AllowViewingReportingInfo <bool> Enable or disable the "Allow viewing of RAS Reporting" option.
-AllowViewingSiteInfo <bool> Enable or disable the "Allow viewing of Site Information" option.
-AllowViewingPolicyInfo <bool> Enable or disable the "Allow viewing of Policy Information" option.
-AllowSessionManagement <bool> Enable or disable the "Allow Session Management" option.
-AllowDeviceManagementChanges <bool> Enable or disable the "Allow Device Management changes" option.
-AllowPolicyChanges <bool> Enable or disable the "Allow Policy changes" option.
-AllowAllSites <bool> 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[]> A list of sites (a Site array) which the administrator should be allowed to manage.
-AllowInSiteIds <uint[]> A list of site ids (an integer array) which the administrator should be allowed to manage.
<CommonParameters>
-none-
-none-
---------- EXAMPLE 1 ---------- Set-RASPowerPermission -AdminId 100 -AllowSiteChanges $false Modifies AllowSiteChanged for AdminId 100 to False. ---------- EXAMPLE 2 ---------- Set-RASPowerPermission -AdminId 100 -AllowConnectionChanges $false Modifies AllowConnectionChanges for AdminId 100 to False.