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 a security group that is assigned to a user group.
Parameter Set: Default
Remove-WssMsoGroup [-WssGroupName] <String> [[-Force]] [-Confirm] [-WhatIf] [ <CommonParameters>]
The Remove-WssMsoGroup cmdlet removes a Windows security group that is assigned to a Windows Server Essentials user group. This cmdlet removes both the assignment and the security group itself from . To remove just the assignment, use the Remove-WssMsoGroupAssignment cmdlet. If the group that is specified is not assigned to a Windows Server Essentials user group, no error is generated, but nothing is done to the group.
Forces the command to run without asking for user confirmation.
Aliases |
none |
Required? |
false |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies the name of a user group. The cmdlet removes the security group assigned to 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 |
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
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 security group assigned to the user group named Admins.
PS C:\> Remove-WssMSOGroup -WssGroupName "Admins"
PS C:\>