Get-DPMMaintenanceJobStartTime

Get-DPMMaintenanceJobStartTime

Gets the start times of DPM maintenance jobs.

Syntax

Parameter Set: Default
Get-DPMMaintenanceJobStartTime [[-DPMServerName] <String> ] [-MaintenanceJob] <HouseKeepingJobs> {CatalogPruning | LibraryInventory} [ <CommonParameters>]

Detailed Description

The Get-DPMMaintenanceJobStartTime cmdlet returns the start times of maintenance jobs for System Center 2012 – Data Protection Manager (DPM) such as Catalog Pruning and Detailed Inventory.

Parameters

-DPMServerName<String>

Specifies the name of the DPM server.

Aliases

ComputerName,CN

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-MaintenanceJob<HouseKeepingJobs>

Specifies a maintenance job to be performed on a replica. The acceptable values for this parameter are:

-- CatalogPruning. Removes index entries for expired tapes.
-- DetailedInventory. Identifies new tapes and recognizes tapes DPM has seen before by reading the on-media identifier (OMID) on each tape.

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

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

Notes

  • For more information, type "Get-Help Set-MaintenanceJobStartTime -detailed".

Examples

Example 1: Get start time for catalog pruning

This command returns the time when catalog pruning is scheduled to run on the DPM server named TestServer.

PS C:\> Get-DPMMaintenanceJobStartTime -DPMServerName "TestServer" -MaintenanceJob CatalogPruning

Set-DPMMaintenanceJobStartTime