I am trying to automate download some file from website...which is using IE 11..I am stuck on download Window where it ask to "view" and Save...i tried couple of option but did not worked however my current code works on IE 8 , 9 & 10..I am wondering if someone help me here
Script Code
$ie = New-Object
-com "InternetE
xplorer.Application"
$ie.Navigate("http://download.microsoft.com/download/e/4/3/e43bb484-3b52-4fa8-a9f9-ec60a32954bc/Azure_Services_Platform.pdf")
$ie.visible = $true
while($ie.busy) {sleep 1}
$wshell = New-Object -ComObject WScript.Shell
$id = (gps iex* | where {$_.MainWindowTitle -match "View Downloads - Internet Explorer"}).id
$wshell.AppActivate($id)
start-sleep 5
$wshell.SendKeys("%{S}");
================
Sunil Pathare - Posts are provided AS-IS with no warranties/guarantees and confers no rights.