Get-WssUserGroup

Get-WssUserGroup

Gets user groups.

構文

Parameter Set: ByNameParamSet
Get-WssUserGroup [-Name <String> ] [ <CommonParameters>]

Parameter Set: BySidParamSet
Get-WssUserGroup [-Sid <String> ] [ <CommonParameters>]

詳細説明

The Get-WssUserGroup cmdlet gets Windows Server Essentials user groups. If you do not specify the name or security identifier (SID) of a group, the cmdlet gets all user groups.

パラメーター

-Name<String>

Specifies a name. The cmdlet gets the user group that has the name that you specify.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-Sid<String>

Specifies a SID. The cmdlet gets the user group that has the SID that you specify.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

  • Microsoft.WindowsServerSolutions.Groups.Group

Example 1: Get a user group by specifying a name

This command gets the user group named Support.

PS C:\> Get-WssUserGroup -Name "Support" 
PS C:\> 

関連トピック

Add-WssUserGroup

Remove-WssUserGroup

Set-WssUserGroup