Remove-WssMsoGroupAssignment

Removes the assignment of a security group to a user group.

Syntax

Remove-WssMsoGroupAssignment
      [-WssGroupName] <String>
      [<CommonParameters>]

Description

The Remove-WssMsoGroupAssignment cmdlet removes the assignment of a aad_1 security group to a Windows Server Essentials user group. This cmdlet does not remove the user group or the aad_2 security group. After this cmdlet runs, the local group no longer syncs with the aad_2 group. To remove a security group, use the Remove-WssMsoGroup cmdlet.

Examples

Example 1: Remove an assigned security group

PS C:\> Clear-WssMSOAssignedGroup -WssGroupName "AllEmployee"

This command removes the assignment to a security group for the user group named AllEmployee.

1:

PS C:\>

Parameters

-WssGroupName

Specifies the name of a wseblue_2 user group. The cmdlet removes the assignment of a security group for the user group that you specify.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

WssGroupName Type: System.String Description: local network account name of group