Get-WssUserGroup
Get-WssUserGroup
Gets user groups.
Sintaxis
Parameter Set: ByNameParamSet
Get-WssUserGroup [-Name <String> ] [ <CommonParameters>]
Parameter Set: BySidParamSet
Get-WssUserGroup [-Sid <String> ] [ <CommonParameters>]
Descripción detallada
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.
Parámetros
-Name<String>
Specifies a name. The cmdlet gets the user group that has the name that you specify.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Sid<String>
Specifies a SID. The cmdlet gets the user group that has the SID that you specify.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- Microsoft.WindowsServerSolutions.Groups.Group
Ejemplos
Example 1: Get a user group by specifying a name
This command gets the user group named Support.
PS C:\> Get-WssUserGroup -Name "Support"
PS C:\>