Set-WssMsoGroupAssignment

Set-WssMsoGroupAssignment

Assigns a security group to a user group.

構文

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

詳細説明

The Set-WssMsoGroupAssignment cmdlet assigns a security group to a Windows Server Essentials user group.

パラメーター

-MsoId<String>

Specifies an ID for a security group. The cmdlet assign the security group that you specify to a Windows Server Essentials user group.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

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

True (ByPropertyName)

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

false

-WssGroupName<String>

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

This command assigns the specified security group to the user group named Admins.

PS C:\> Set-WssMSOAssignedGroup -WssGroupName "Admins" -MsoId "d77e9419-2e1f-4080-ae7c-9b97c6caa681"
PS C:\> 

関連トピック

Remove-WssMsoGroupAssignment

Set-WssMsoUserAssignment