Hi all, I have another topic for this question but I decided to open this one since other one is more broad.
I am running PowerShell script from alert and I am using string to call a script and run it on the node that triggered the alert. The string I am using is the one from Solarwinds but it does not run PowerShell script on the node that triggered the alert, it runs it on localhost.
Here is the command:
" C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "C:\Temp\Cleanup.ps1 '${NodeName}'" "
Is there any other way to pass the Node_Name to PS script or to run it against the server that triggered the alert?