For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

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

Moves admin account with Id 1 to user group with Id 2.

Example 3

Unassigns the admin account with Id 1 from any user group.

PARAMETERS

-Id

Account ID

-GroupId

User Group ID

-KeepGroupPermissions

Specifies to keep the existing group permissions before moving.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

None

Last updated