Share via


Get-DPMProtectionJobStartTime

Gets the start time of a protection job.

Syntax

Default (Default)

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.

Parameter properties

Type:ProtectionJobType
Default value:None
Accepted values:ConsistencyCheck
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ProtectionGroup

Specifies a protection group on which this cmdlet operates. To obtain a ProtectionGroup object, use the Get-DPMProtectionGroup cmdlet.

Parameter properties

Type:ProtectionGroup
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

DateTime