Get-WssUserGroup
Gets user groups.
PowerShell
Get-WssUserGroup []
PowerShell
Get-WssUserGroup
[-Name <String>]
[<CommonParameters>]
PowerShell
Get-WssUserGroup
[-Sid <String>]
[<CommonParameters>]
The Get-WssUserGroup cmdlet gets Windows Server Essentials user groups. If you do not specify the name or security identifier (SID) of a group, the cmdlet gets all user groups.
PowerShell
PS C:\> Get-WssUserGroup -Name "Support"
This command gets the user group named Support.
PowerShell
PS C:\>
Specifies a name. The cmdlet gets the user group that has the name that you specify.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a SID. The cmdlet gets the user group that has the SID that you specify.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Microsoft.WindowsServerSolutions.Groups.Group