Archive for the 'Google' Category

Search in Google with PowerShell

April 24, 2011

$IE= new-object -com InternetExplorer.Application
$IE.navigate2(“http://www.google.es”)
while ($IE.busy) {
sleep -milliseconds 50
}
$IE.visible=$true
$IE.Document.getElementById(“q”).value=”PowerShell”
$IE.Document.getElementById(“f”).submit()

Advertisements