Hi,
here is my script
Param( $srvhost=$args[0] )
$msgarray = $srvhost -split(" ") $smsrequest = "https://vast.bezeq.co.il/imsc/interfaces/largeaccount/la3.sms?account=haaretz&user=xxxxx&pass=xxxxxx&from=035892124&to=0507703384&port=0&text=$msgarray[0] $msgarray[4] $msgarray[2] $msgarray[3] $msgarray[4]" Invoke-WebRequest -Method get $smsrequest write-host "2:Error" exit 2
I get the sms correct but it appear three time in each sms
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Thank for your answer. The problem has solved, the issue was with the windows browser.
Dec, 2019 - Permalink
Why not use the actual Custom SMS API URL? And why are you exiting with code 2 all the time? :)
Dec, 2019 - Permalink