Remove-WssUserGroup
Removes a user group.
Parameter Set: Default
Remove-WssUserGroup -Name <String> [ <CommonParameters>]
The Remove-WssUserGroup cmdlet removes a user group. If you previously assigned a security group to the group to remove, this cmdlet removes the assignment, but does not remove the security group.
Specifies a name. The cmdlet removes the user group that you specify by name.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
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.
The output type is the type of the objects that the cmdlet emits.
This command removes a user group named support, as well as the assignment to a security group, if one exists.
PS C:\> Remove-WssUserGroup -Name "Support"
PS C:\>