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). Maintenance jobs include catalog pruning and detailed inventory.
Parameters
-DPMServerName<String>
Specifies the name of the DPM server. This cmdlet gets maintenance jobs for the server that this parameter specifies.
Aliases |
ComputerName,CN |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-MaintenanceJob<HouseKeepingJobs>
Specifies a maintenance job that this cmdlet performs on the replica. Valid values 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
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