Hi,
I would like to monitor the amount of free licenses on some server. I wrote powershell script which output is a number. It works from powershell terminal. How can I run it by Solarwinds to trigger some alert if the number of free licenses is lower than the threshold?
Powershell script:
$command = "plink -l root -batch -pw password server_ip /path_to_script/licleft.sh"
Invoke-Expression -command $command
Exit(0);