Get-DPMProtectionJobStartTime
Gets the start time of a protection job.
Syntax
Get-DPMProtectionJobStartTime
[-ProtectionGroup] <ProtectionGroup>
[-JobType] <ProtectionJobType>
[<CommonParameters>]
Description
The Get-DPMProtectionJobStartTime cmdlet gets the start time of a protection job.
Examples
Example 1: Get a job start time
PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMProtectionJobStartTime -ProtectionGroup $PGroup -JobType ConsistencyCheck
The first command gets the protection group on the System Center 2019 - Data Protection Manager (DPM) server named DPMServer02, and then stores the group in the $PGroup variable.
The second command gets the job start time for the consistency check on the protection group stored in the $PGroup variable.
Parameters
-JobType
Specifies the type of job for which options are being set. The only valid value for this parameter is ConsistencyCheck.
Type: | ProtectionJobType |
Accepted values: | ConsistencyCheck |
Position: | 2 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ProtectionGroup
Specifies a protection group on which this cmdlet operates. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.
Type: | ProtectionGroup |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
DateTime