I'm trying to spawn an IE instance remotely via PowerShell.
Invoke-Command -computername foo -scriptblock {
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Visible = $true
$ie.Navigate("http://duckduckgo.com")
}
It spawns the instance, I can see it in processes but it doesn't become visible to to the user. What am I doing wrong?