Remove-WssUserGroup
Removes a user group.
Syntax
Remove-WssUserGroup
-Name <String>
[<CommonParameters>]
Description
The Remove-WssUserGroup cmdlet removes a user group. If you previously assigned a aad_1 security group to the group to remove, this cmdlet removes the assignment, but does not remove the security group.
Examples
Example 1: Remove a user group
PS C:\> Remove-WssUserGroup -Name "Support"
This command removes a user group named support, as well as the assignment to a security group, if one exists.
1:
PS C:\>
Parameters
-Name
Specifies a name. The cmdlet removes the user group that you specify by name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for