##### VARIABLE DECLARATION ####
$URL = "http://site21.way2sms.com/content/index.html"
$username = "****"
$password = "****"
$SMSBODY = "HI THIS IS AUTOMATED TXT FROM RAGHU"
##### FIRST PAGE #######
$ie = New-Object -com InternetExplorer.Application
$ie.visible=$true
$ie.navigate("$URL")
while($ie.Busy) {Start-Sleep 1}
$ie.document.getElementById("username").value= "$username"
$ie.document.getElementById("password").value = "$password"
$ie.document.getElementById("loginBTN").click()
$URL = "http://site21.way2sms.com/content/index.html"
$username = "****"
$password = "****"
$SMSBODY = "HI THIS IS AUTOMATED TXT FROM RAGHU"
##### FIRST PAGE #######
$ie = New-Object -com InternetExplorer.Application
$ie.visible=$true
$ie.navigate("$URL")
while($ie.Busy) {Start-Sleep 1}
$ie.document.getElementById("username").value= "$username"
$ie.document.getElementById("password").value = "$password"
$ie.document.getElementById("loginBTN").click()
No comments:
Post a Comment