Tao Yang have updated the script provided by Steve Rachui ( Place a Group in Maintenance Mode with PowerShell ) to use SDK rather than SCOM 2007 PS Snap-in so the script works on both SCOM 2007 and OM12.
He's also made few other changes including change the duration from number of hours to number of minutes to suit his needs.
You can read his full article on Tao's blog and download his modified script here.
No comments:
Post a Comment