Move-RASAdminToGroup.md

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

GroupId (uint)

User Group ID

KeepGroupPermissions (SwitchParameter)

Specifies to keep the existing group permissions before moving.

(CommonParameters)

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.

Last updated