Remove-WssMsoGroupAssignment

Remove-WssMsoGroupAssignment

Removes the assignment of a security group to a user group.

Sintaxis

Parameter Set: Default
Remove-WssMsoGroupAssignment [-WssGroupName] <String> [ <CommonParameters>]

Descripción detallada

The Remove-WssMsoGroupAssignment cmdlet removes the assignment of a security group to a Windows Server Essentials user group. This cmdlet does not remove the user group or the security group. After this cmdlet runs, the local group no longer syncs with the group. To remove a security group, use the Remove-WssMsoGroup cmdlet.

Parámetros

-WssGroupName<String>

Specifies the name of a user group. The cmdlet removes the assignment of a security group for the user group that you specify.

Alias

ninguno

¿Requerido?

true

¿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: Remove an assigned security group

This command removes the assignment to a security group for the user group named AllEmployee.

PS C:\> Clear-WssMSOAssignedGroup -WssGroupName "AllEmployee"
PS C:\> 

Temas relacionados

Set-WssMsoGroupAssignment

Remove-WssMsoUserAssignment