Get-DPMMaintenanceJobStartTime

Gets the start times of DPM maintenance jobs.

Syntax

Get-DPMMaintenanceJobStartTime
   [[-DPMServerName] <String>]
   [-MaintenanceJob] <HouseKeepingJobs>
   [<CommonParameters>]

Description

The Get-DPMMaintenanceJobStartTime cmdlet returns the start times of maintenance jobs for System Center 2016 - Data Protection Manager (DPM). Maintenance jobs include catalog pruning and detailed inventory.

Examples

Example 1: Get start time for catalog pruning

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

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

Required Parameters

-MaintenanceJob

Specifies a maintenance job that this cmdlet performs on the 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.
Type:HouseKeepingJobs
Parameter Sets:CatalogPruning, LibraryInventory
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DPMServerName

Specifies the name of the DPM server. This cmdlet gets maintenance jobs for the server that this parameter specifies.

Type:String
Aliases:ComputerName, CN
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DateTime