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 2016 - 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
Parameter Sets:ConsistencyCheck
Required:True
Position:2
Default value:None
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
Required:True
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

DateTime