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
Invoke-Command server1 -ScriptBlock { Restart-Service w3svc -Force
} `
-cred $cred
could someone help me put this together into solarwinds, and in turn alerts manager?
Thanks!