Move-RASAdminToGroup
NAME
Move-RASAdminToGroup
SYNOPSIS
Moves admin account to a user group.
SYNTAX
Move-RASAdminToGroup [Id]** (uint) [GroupId] (uint) [KeepGroupPermissions (SwitchParameter)] [(CommonParameters)]
DESCRIPTION
Moves admin account to a user group.
In case that no user group is provided, admin account is unassigned from any user group.
PARAMETERS
Id (uint)
Account ID
Required? true
Position? 0
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
GroupId (uint)
User Group ID
Required? true
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
KeepGroupPermissions (SwitchParameter)
Specifies to keep the existing group permissions before moving.
Required? false
Position? named
Default value False
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
-none-
OUTPUTS
-none-
EXAMPLES
**---------- EXAMPLE 1 ----------
Move-RASAdminToGroup -Id 1 -GroupId 2 -KeepGroupPermissions
Moves admin account with Id 1 to user group with Id 2 while keeping the group permissions. **---------- EXAMPLE 2 ----------
Move-RASAdminToGroup -Id 1 -GroupId 2
Moves admin account with Id 1 to user group with Id 2. **---------- EXAMPLE 3 ----------
Move-RASAdminToGroup -Id 1 -GroupId 0
Unassigns the admin account with Id 1 from any user group.
RELATED LINKS
Last updated