$ie = New-Object
-com InternetExplorer.Application
$smtpServer =
"webmail.*******.com"
$ie.visible=$true
$ie.navigate("$URL")
while($ie.Busy)
{Start-Sleep 1}
while($ie.Busy)
{Start-Sleep 1}
while($ie.Busy)
{Start-Sleep 1}
while($ie.Busy)
{Start-Sleep 1}
while($ie.Busy)
{Start-Sleep 1}
$ie.document.getElementById("ctl00_breadcrumbContent_btnIAgree").click()
while($ie.Busy)
{Start-Sleep 1}
while($ie.Busy)
{Start-Sleep 1}
$Linw=$ie.Document.getElementsByTagName("td")
| where-object
{$_.uniqueID
-eq "ms__id47"}
$Ra = $Link.InnerText
while($ie.Busy) {Start-Sleep
1}
while($ie.Busy)
{Start-Sleep 1}
while($ie.Busy)
{Start-Sleep 1}
$Link=$ie.Document.getElementsByTagName("td")
| where-object
{$_.uniqueID
-eq "ms__id41"}
$rb = $Linw.InnerText
No comments:
Post a Comment