Add-WssMsoGroup

Add-WssMsoGroup

Adds a security group and assigns it to a user group.

構文

Parameter Set: Default
Add-WssMsoGroup [-WssGroupName] <String> [[-MsoGroupName] <String> ] [ <CommonParameters>]

詳細説明

The Add-WssMsoGroup cmdlet adds a security group, and assigns that group to a Windows Server Essentials user group.

パラメーター

-MsoGroupName<String>

Specifies a name for the security group.

エイリアス

なし

必須?

false

位置は?

2

既定値

なし

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

True (ByPropertyName)

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

false

-WssGroupName<String>

Specifies the name of a user group. The cmdlet assigns the security group to the user group that you specify. If you do not specify a name for the security group by using the MsoGroupName parameter, the cmdlet uses the value that you specify as the name for the security group.

エイリアス

なし

必須?

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 user group

出力

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

Example 1: Create a security group

This command creates a security group named Network Admins and associates it to the local network user group named Local Network Admins.

PS C:\> Add-WssMSOGroup - WssGroupName "Local Network Admins" -MsoGroupName "Network Admins"

関連トピック

Get-WssMsoGroup

Remove-WssMsoGroup