Remove-WssMsoGroupAssignment

Remove-WssMsoGroupAssignment

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

構文

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

詳細説明

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.

パラメーター

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

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.String

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

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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:\> 

関連トピック

Set-WssMsoGroupAssignment

Remove-WssMsoUserAssignment