Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the assignment of a security group to a user group.
Parameter Set: Default
Remove-WssMsoGroupAssignment [-WssGroupName] <String> [ <CommonParameters>]
The Remove-WssMsoGroupAssignment cmdlet removes the assignment of a security group to a Windows Server Essentials user group. This cmdlet does not remove the user group or the security group. After this cmdlet runs, the local group no longer syncs with the group. To remove a security group, use the Remove-WssMsoGroup cmdlet.
Specifies the name of a user group. The cmdlet removes the assignment of a security group for the user group that you specify.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue, ByPropertyName) |
Accept Wildcard Characters? |
false |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
The input type is the type of the objects that you can pipe to the cmdlet.
System.String
WssGroupName
Type: System.String
Description: local network account name of group
The output type is the type of the objects that the cmdlet emits.
This command removes the assignment to a security group for the user group named AllEmployee.
PS C:\> Clear-WssMSOAssignedGroup -WssGroupName "AllEmployee"
PS C:\>