Export (0) Print
Expand All

Modify the schedule for maintenance jobs with Windows PowerShell

 

You can set the schedules for maintenance jobs to be carried out on the DPM server only by using DPM Management Shell.

To schedule a maintenance job

  • Use the following syntax to retrieve the current schedule for maintenance jobs to run on a DPM server:

    Get-MaintenanceJobStartTime [-DPMServerName] <String> [-MaintenanceJob] <HouseKeepingJobs> [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]

  • Use the following syntax to set the schedule for maintenance jobs to run on a DPM server:

    Set-MaintenanceJobStartTime [-DPMServerName] <String> [-MaintenanceJob] <HouseKeepingJobs> [[-StartTime] <DateTime>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]

  • Use the following syntax to remove the schedule for maintenance jobs to run on a DPM server:

    Set-MaintenanceJobStartTime [-DPMServerName] <String> [-MaintenanceJob] <HouseKeepingJobs> [-Remove] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]

    For more information, type "Get-Help Set-MaintenanceJobStartTime -detailed" in DPM Management Shell.

    For technical information, type "Get-Help Set-MaintenanceJobStartTime -full" in DPM Management Shell.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft