Get-WssMsoAssignedGroup

Get-WssMsoAssignedGroup

Gets a security group assigned to a user group.

Sintaxis

Parameter Set: Default
Get-WssMsoAssignedGroup [[-WssGroupName] <String> ] [ <CommonParameters>]

Descripción detallada

The Get-WssMsoAssignedGroup cmdlet gets a security group that is assigned to a Windows Server Essentials user group. If you do not specify a user group, the cmdlet gets all the security groups. To get security groups that are not assigned to a user group, use the Get-WssMsoGroup cmdlet.

Parámetros

-WssGroupName<String>

Specifies the name of a Windows Server Essentials user group. The cmdlet gets the security group that is assigned to the user group 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.

  • MSOSecurityGroup[]

Ejemplos

Example 1: Get all security groups

This command gets all the security groups.

PS C:\> Get-WssMsoAssignedGroup

Example 2: Get a security group by name

This command gets the security group assigned to the user group named named Admins.

PS C:\> Get-WssMsoAssignedGroup -WssGroupName "Admins"
PS C:\> 

Temas relacionados

Add-WssMsoGroup

Add-WssUserGroup

Get-WssMsoGroup