(imported topic written by SystemAdmin)
This is probably going to be extremely difficult if not imposable.
Via a script, either C# or Power Shell (and probably others), you can place a server that is using SCOM 2007 into Maintenance Mode. With that said, you can run this script from with in BigFix prior to installing patches and rebooting the host.
Each month, we install Windows patches and reboot the servers. Prior to the patches being deployed, we would like to set the hosts into Maintenance mode for a period of time (15 minutes for example).
What makes this difficult, is that our servers are in 2 hour Patch Buckets (using Automatic Groups) through out a weekend. How would this script be able to parse the list of hosts and put each in Maintenance mode prior to performing the patch installs.
Has anyone done something like this in their envronment?