notes/Get webpage source code-3hwpCT08.sh
$ie = New-Object -ComObject InternetExplorer.Application #background process
#$ie.Visible = $true #to make it visible
$ie.Navigate("http://google.com")

$html = $ie.Document.Body.InnerText
$ie.Quit()
Remove-Variable $ie

syntax highlighted by Code2HTML, v. 0.9.1