Export (0) Print
Expand All

Modify the schedule for maintenance jobs with Windows PowerShell

Updated: March 12, 2014

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

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.

See Also

-----
For additional resources, see Information and Support for System Center 2012.

Tip: Use this query to find online documentation in the TechNet Library for System Center 2012. For instructions and examples, see Search the System Center 2012 Documentation Library.
-----
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft