Get-DPMSecurityGroup
Get-DPMSecurityGroup
Gets the security groups for a DPM role.
構文
Parameter Set: Default
Get-DPMSecurityGroup [-DpmRole] <DpmRole> [ <CommonParameters>]
詳細説明
The Get-DPMSecurityGroup cmdlet gets the security groups for a System Center 2012 – Data Protection Manager (DPM) role.
パラメーター
-DpmRole<DpmRole>
Specifies a DPM role object. To obtain a DPM role object, use the Get-DPMRole cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
注
- For more information, type "
Get-Help Get-DPMSecurityGroup -detailed
".
例
Example 1: Get security groups for a role
This example gets the DPM security groups for a role.
The first command uses the Get-DPMRole cmdlet to get the role named OpsMgrSQL and stores it in the $DpmRole variable.
The second command gets the security groups for the role stored in the $DpmRole variable.
PS C:\> $DpmRole = Get-DpmRole -Name "OpsMgrSQL"
PS C:\> Get-DPMSecurityGroup -DPMRole $DPMRole