Wednesday, 7 December 2016

SCRIPT TO CHECK SECURITY UPDATES OF McAfee Antivirus



$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

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...