Modify the schedule for maintenance jobs with Windows PowerShell

 

Updated: May 13, 2016

Applies To: System Center 2012 SP1 - Data Protection Manager, System Center Data Protection Manager 2010, System Center 2012 R2 Data Protection Manager

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.

Modify the schedule for protection jobs with Windows PowerShell
Manage tapes

Show: