$ie = New-Object -ComObject 'internetExplorer.Application'
$ie.Visible= $true
$ie.Navigate("https://foo.example.com/login")
How can I force this new instance of IE to be in document mode Edge or 10?
By default it loads this site in Document mode 5 and sometimes 7.