Remove-WssUserGroup

Remove-WssUserGroup

Removes a user group.

Syntax

Parameter Set: Default
Remove-WssUserGroup -Name <String> [ <CommonParameters>]

Detailed Description

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.

Parameters

-Name<String>

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

<CommonParameters>

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).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Remove a user group

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:\> 

Add-WssUserGroup

Get-WssUserGroup

Set-WssUserGroup