whatsup gold powershell script
Posted on 2014-01-13
Im using whatsup gold v16 , i am trying to make a active monitor via powershell that will run a command called sipsak from the command line, and if it returns "SIP ok" then the monitor is up, and if it reports back "SIP failure" then the monitor is down. here is the command running in powershell. i just dont know how to script it in whatsup gold. can someone help?
PS C:\> & "C:\sipsak-0.9.5.exe" -s sip:email@example.com -N -D 1
PS C:\> & "C:\sipsak-0.9.5.exe" -s sip:firstname.lastname@example.org -N -D 1
nothing received, select returned error
i cant seem to find online how to do this, and i dont know powershell at all.
Thanks in advance,