Is there a PS sript to put different web applications in maintenance mode

HI,

I have 2007 R2 SCOM environment.Multiple Web applications is monitored. I got request to put together PS script which could put web application to maintenance mode so it wouldn't not alert while somebody working on it and puts it down. Is there possible way to do that.

Thanks

Balys

April 16th, 2015 3:24am

Hi

There are different ways to interpret "web applications" - if this is basic URL monitoring then this can be done as follows:

http://www.scom2k7.com/schedule-a-into-url-maintenance-mode/

http://www.scom2k7.com/schedule-a-group-of-urls-into-maintenance-mode/

I have done similar for process monitors here:

https://systemcentersolutions.wordpress.com/2010/04/03/scheduled-maintenance-process-monitors/

The idea behind all of these is that you'll need to find out the target class and then put that class into maintenance mode.

Regards

Graham

Free Windows Admin Tool Kit Click here and download it now
April 16th, 2015 3:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics