Get-DPMProtectionJobStartTime
Get-DPMProtectionJobStartTime
Gets the start time of a protection job.
Syntax
Parameter Set: Default
Get-DPMProtectionJobStartTime [-ProtectionGroup] <ProtectionGroup> [-JobType] <ProtectionJobType> [ <CommonParameters>]
Detailed Description
The Get-DPMProtectionJobStartTime cmdlet gets the start time of a protection job.
Parameters
-JobType<ProtectionJobType>
Specifies the type of job for which options are being set. The only valid value for this parameter is ConsistencyCheck.
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ProtectionGroup<ProtectionGroup>
Specifies a ProtectionGroup object. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByValue) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- DateTime
Notes
- For more information, type "
Get-Help Get-DPMProtectionJobStartTime -detailed
".
Examples
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
Related topics
Get-ProtectionGroup