Get-WssMsoGroup

Get-WssMsoGroup

Gets security groups.

Sintaxis

Parameter Set: Default
Get-WssMsoGroup [[-MsoId] <String> ] [ <CommonParameters>]

Descripción detallada

The Get-WssMsoGroup cmdlet gets security groups. Specify an ID to get a particular security group. The cmdlet gets security groups whether or not they have an assignment to a user group.

Parámetros

-MsoId<String>

Specifies an ID for a security group. The cmdlet gets the security group that has the ID that you specify.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue, ByPropertyName)

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

  • System.String

    WssGroupName
    Type: System.String
    Description: local network account name of group

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Ejemplos

Example 1: Get all security groups

This command gets all the security groups.

PS C:\> Get-WssMSOGroup

Example 2: Get a specific security group

This command gets the security group that has the specified ID.

PS C:\> Get-WssMsoGroup -MsoId "70769c52-b6e2-4ef6-8369-3c2a0208da68"

Temas relacionados

Add-WssMsoGroup

Remove-WssMsoGroup