Tag Archives: Service

MaintMode on a single class

Didnt know that this would work… In a project that I’m working on the customer wanted me to create a Management Pack for a couple of services, the only problem was that they wanted to restart the services during the … Continue reading

Posted in OpsMgr, PowerShell | Tagged , , | Comments Off on MaintMode on a single class

MOM-Script: ServiceMonitor

Ett script som kontrollerar om en service har hängt sig under uppstart/nersängning. Parametrar ServiceName = wuauserv (Service att övervaka) RecheckSeconds = 20 (Sekunder mellan kontroller) RecheckCount = 3 (Antal kontroller att göra) DebugMode = False (Skapa event oavsett status? Vid … Continue reading

Posted in MOM2005 | Tagged , | Comments Off on MOM-Script: ServiceMonitor