Get-ProtectionJobStartTime

Get-ProtectionJobStartTime

Returns the start time of a protection job.

Syntax

Get-ProtectionJobStartTime [-JobType] <JobTypeType> [-ProtectionGroup] <ProtectionGroup> [<CommonParameters>]

Detailed Description

The Get-ProtectionJobStartTime cmdlet returns the start time of a protection job.

Parameters

-JobType

Indicates the type of job for which options are being set. The possible value that this parameter can take is ConsistencyCheck.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-ProtectionGroup

The name of a protection group.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

0

-CommonParameter

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

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Notes

  • For more information, type "Get-Help Get-ProtectionJobStartTime -detailed".
    For technical information, type "Get-Help Get-ProtectionJobStartTime -full".

    Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.

Examples

EXAMPLE 1

$pg = Get-ProtectionGroup -DPMServerName TestingServer 
Get-ProtectionJobStartTime -ProtectionGroup $pg -JobType ConsistencyCheck

This command returns the job start time for the consistency check on the protection group.