Script To Put A Server In And Out Of Temporary Maintenance

by Mar 27, 2015

Hi, I am wondering if the following may be possible.

We do have Maintenance Windows defined, but many times the maintenance for a specific server is far less than the maintenance window, or in some cases the maintenance windows may change.

We are wondering if it is possible to write a script that the technician doing a server change could run to put a server into temporary maintenance mode before they start the change and then take the server out of temporary maintenance when they are done.