OM2012 - Maintenance Mode : Requirement : Put the servers in maintenance mode in Future Date.

Hello All,

#TYPE Selected.System.Management.Automation.PSCustomObject

"ServerNameNew","TimeStamp"
"ABC.com","9/14/2015 8:23:00 PM"

MMList.csv

I am reading the above CSV File to execute the powershell. 

Time will be always in Future Date

Start-SCOMMaintenanceMode -Instance $mmcomputerobject -EndTime $start.AddMinutes(10) -Comment $comment

Unfortunately Start-SCOMMaintenanceMode does not have a start time. Is it something we can work on. Or any workaround. 



September 14th, 2015 6:33am

Hi,

This feature is lacking in OpsMgr. You could check the below link that server your purpose, though its a licensed tool. :)

http://www.scom2k7.com/scom-2012-maintenance-mode-scheduler/

Thanks,

Binoy Das

Free Windows Admin Tool Kit Click here and download it now
September 14th, 2015 9:00am

Thanks for the update. 

I have a made a monitor to read the csv file and put it into maintenance before 5 mins when it is nearing to the get-date time. 

Automated using orchestrator.

Regards.

September 15th, 2015 12:49am

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

Other recent topics Other recent topics