Get-DPMProtectionJobStartTime

Get-DPMProtectionJobStartTime

Gets the start time of a protection job.

Syntax

Parameter Set: Default
Get-DPMProtectionJobStartTime [-ProtectionGroup] <ProtectionGroup> [-JobType] <GetProtectionJobStartTime+ProtectionJobType> {ConsistencyCheck} [ <CommonParameters>]




Detailed Description

The Get-DPMProtectionJobStartTime cmdlet gets the start time of a protection job.

Parameters

-JobType<GetProtectionJobStartTime+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 protection group on which this cmdlet operates. 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: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

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

Examples

Example 1: Get a job start time

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.


PS C:\> $PGroup = Get-DPMProtectionGroup -DPMServerName "DPMServer02"
PS C:\> Get-DPMProtectionJobStartTime -ProtectionGroup $PGroup -JobType ConsistencyCheck

Related topics

Community Additions

ADD
Show: