Hi there,
i'd like solarwinds to automatically reset iis on a server if that server CPU goes over 50%.
The server is managed using WMI, and has powershell 2.0 installed, i have this script working locally (i.e. running from the powershell cmd on the solarwinds server) :
$cred = Get-Credential<br />Invoke-Command server1 -ScriptBlock { <code style="font-family:Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;">Restart-Service w3svc -Force } `
-cred $cred
could someone help me put this together into solarwinds, and in turn alerts manager?
Thanks!