Get-DPMProtectionJobStartTime
Get-DPMProtectionJobStartTime
Gets the start time of a protection job.
構文
Parameter Set: Default
Get-DPMProtectionJobStartTime [-ProtectionGroup] <ProtectionGroup> [-JobType] <GetProtectionJobStartTime+ProtectionJobType> {ConsistencyCheck} [ <CommonParameters>]
詳細説明
The Get-DPMProtectionJobStartTime cmdlet gets the start time of a protection job.
パラメーター
-JobType<GetProtectionJobStartTime+ProtectionJobType>
Specifies the type of job for which options are being set. The only valid value for this parameter is ConsistencyCheck.
エイリアス |
none |
必須? |
true |
位置は? |
2 |
既定値 |
none |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a ProtectionGroup object. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
エイリアス |
none |
必須? |
true |
位置は? |
1 |
既定値 |
none |
パイプライン入力を許可する |
True (ByValue) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- DateTime
注
- For more information, type "
Get-Help Get-DPMProtectionJobStartTime -detailed
".
例
Example 1: Get a job start time
This example gets the job start time for the consistency check on a protection group.
The first command gets the protection group on the DPM server named DPMServer02 and stores the results in the $Pg variable.
The second command gets the job start time for the consistency check on the protection group stored in the $Pg variable.
PS C:\> $Pg = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMProtectionJobStartTime -ProtectionGroup $Pg -JobType ConsistencyCheck