I have roughly about 9000 servers to manage and we are using CA Spectrum to either put them into Maintenance mode / Managed mode. Since we do maintenance on a regular base, sometimes people tend to forget to put it back into managed mode, which could cause outages. Is it possible through Powershell script to actually see which servers are still in maintenance mode, without having to go into CA Spectrum in order to find out? This way I can run the script in one go and have an overview of what is forgotten to be put back and would be able to easily put them back into managed without using the CA Spectrum GUI.
You can use the seek command to get a list of models that have ismanaged set to FALSE (in maintenance):
Or you could try using the Hibernation function, if your business case is fit for it. I don't know how you handle your Maintenance operations.