Update: Operations Manager 2007, WSUS, and Scheduled Maintenance Mode Windows

I’ve gotten around to writing a script that will allow you to automatically put managed agents into maintenance mode for SCOM 2007 using the AgentMM utility.  Download the file and follow the embedded instructions:

  • Edit a CSV that defines what servers and when they will be put into maintenance mode.
  • Set up agentmm.bat, agentmm.exe, your CSV file and the script in a folder.
  • Schedule the script to run at 5 minutes to the hour, every hour.

The script will then put your servers into maintenance mode according to the instructions in the CSV, for 1 hour starting at approximately 5 minutes to the hour.

WAIVER: This script is provided as is.  There is no support for it.  I have no responsibility for what the script does.  You are 100% responsible for using the script and what it does or any related side-affects if you choose to download and use it.  Read through the script and understand exactly what it does before you even test it.  Then test it thoroughly before you put it into production.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.