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.
Gets user groups.
Parameter Set: ByNameParamSet
Get-WssUserGroup [-Name <String> ] [ <CommonParameters>]
Parameter Set: BySidParamSet
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.
Specifies a name. The cmdlet gets the user group that has the name that you specify.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies a SID. The cmdlet gets the user group that has the SID that you specify.
Aliases |
none |
Required? |
false |
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.
- Microsoft.WindowsServerSolutions.Groups.Group
This command gets the user group named Support.
PS C:\> Get-WssUserGroup -Name "Support"
PS C:\>