Remove-WssUserGroupMembership
Remove-WssUserGroupMembership
構文
Parameter Set: Default Remove-WssUserGroupMembership -GroupName <String> -UserName <String> [ <CommonParameters>]
詳細説明
The Remove-WssUserGroupMembership cmdlet removes a user account from a user group.
パラメーター
-GroupName<String>
Specifies the name of a user group. The cmdlet removes a user account from the group that you specify.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-UserName<String>
Specifies the name of a user account. The cmdlet removes the account that you specify from a group.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Remove a user from a group
This command removes the account named EvanNarvaez from the user group named HRGroup.
PS C:\> Remove-WssUserGroupMembership -GroupName "HRGroup" -UserName "EvanNarvaez"
PS C:\>
関連トピック