PowerShell script exchange
Post Reply
AndyGDIT
Enthusiast
Posts: 68
Liked: 9 times
Joined: Nov 14, 2011 3:15 pm
Full Name: Andrew Frye
Contact:

Change Backup Times and back after a maintenance period

Post by AndyGDIT »

I have around 250 jobs with varying start times from 5pm to 10 pm. We have a maintenance period that we do every month for server patching and I would like to see if there is a easy powershell script that we can run to change the start times to say 11pm and then change them back to the varying times the next day after they have run with the modified schedule

Looking to see if anyone has a script written for this before I go and try this myself. I am looking at the Set-VBRJobSchedule cmdlet using variables for each of the different times that we have set and then use the same cmdlet to set them back.

Thanks

Andy
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Change Backup Times and back after a maintenance period

Post by Vitaliy S. »

Hi Andy,

Not sure if there is an easy way to revert your job schedule back after disabling it, but you can consider using an " allowed backup window option" to temporarily disable all your jobs for the maintenance period and use start them on-demand at the specific time of that day.

Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests