Get-DPMProtectionGroupSla
Get-DPMProtectionGroupSla
Gets the SLA for a protection group.
構文
Parameter Set: ProtectionGroup
Get-DPMProtectionGroupSla [-ProtectionGroup] <ProtectionGroup> [ <CommonParameters>]
Parameter Set: ProtectionGroupId
Get-DPMProtectionGroupSla [-ProtectionGroupId] <Guid> [ <CommonParameters>]
詳細説明
The Get-DPMProtectionGroupSla cmdlet gets the service level agreement (SLA) for a System Center 2012 – Data Protection Manager (DPM) protection group. An SLA is an integer value that defines a period, in hours. For more information, see the Set-DPMProtectionGroupSla cmdlet.
パラメーター
-ProtectionGroup<ProtectionGroup>
Specifies a ProtectionGroup object. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
-ProtectionGroupId<Guid>
Specifies the unique identifier for a protection group. This cmdlet gets the SLA for the protection group that this parameter specifies.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
Example 1: Get the SLA for a protection group object
The first command gets the protection group on the DPM server named DPMServer02. The command stores the protection group in the $ProtectionGroup variable.
The second command gets the SLA for the protection group stored in $ProtectionGroup.
PS C:\> $ProtectionGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMProtectionGroupSLA -ProtectionGroup $ProtectionGroup
Example 2: Get the SLA for a protection group specified by ID
The first command gets the protection group on the DPM server named DPMServer02. The command stores the protection group in the $ProtectionGroup variable.
The second command gets the SLA for the protection group that has the GUID specified by the ProtectionGroupId property of $ProtectionGroup.
PS C:\> $ProtectionGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMProtectionGroupSLA -ProtectionGroupId $ProtectionGroup.ProtectionGroupId