Quantcast
Viewing all articles
Browse latest Browse all 20625

System Boot Script

One of our vendors recommends that we reboot their Windows based systems every XX days as their application has a known bug and fails after being online for XX days.  I know of several scripts that are able to report the last boot time such as "systeminfo | find "Boot Time"" within CLI and "Get-CimInstance -ClassName win32_operatingsystem | select csname, lastbootuptime" within powershell.  Does anyone know of a way to create an alert (within NPM, SAM, etc.) based on the output of one of these commands if a system has been online for >= XX days?  The alert I'm seeking needs to be based on the actual system up time, not the SNMP up time that SolarWinds references. 


Thanks.


Viewing all articles
Browse latest Browse all 20625

Trending Articles