Get-WssMsoGroup
Get-WssMsoGroup
Gets security groups.
構文
Parameter Set: Default
Get-WssMsoGroup [[-MsoId] <String> ] [ <CommonParameters>]
詳細説明
The Get-WssMsoGroup cmdlet gets security groups. Specify an ID to get a particular security group. The cmdlet gets security groups whether or not they have an assignment to a user group.
パラメーター
-MsoId<String>
Specifies an ID for a security group. The cmdlet gets the security group that has the ID that you specify.
エイリアス |
なし |
必須? |
false |
位置は? |
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: Get all security groups
This command gets all the security groups.
PS C:\> Get-WssMSOGroup
Example 2: Get a specific security group
This command gets the security group that has the specified ID.
PS C:\> Get-WssMsoGroup -MsoId "70769c52-b6e2-4ef6-8369-3c2a0208da68"