Get-MaintenanceJobStartTime

Get-MaintenanceJobStartTime

Returns the start time of the maintenance jobs.

Syntax

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

Detailed Description

The Get-MaintenanceJobStartTime returns the start time of the maintenance jobs like Catalog Pruning and Detailed Inventory.

Parameters

-MaintenanceJob

Indicates a maintenance job to be performed on the replica. The valid values are CatalogPruning and LibraryInventory.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

1

-DPMServerName

The name of a DPM server.

Attributes

Name Value

Required?

true

Accept wildcard characters?

false

Accept Pipeline Input?

false

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 Set-MaintenanceJobStartTime -detailed".
    For technical information, type "Get-Help Get-MaintenanceJobStartTime -full".

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

Examples

EXAMPLE 1

Get-MaintenanceJobStartTime -DPMServerName TestServer -MaintenanceJob CatalogPruning

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