Launch IE to PowerShell.com

Something fun to do with three little lines. $ie is a variable that holds a reference to the newly created InternetExplorer.Application COM object. We can set its properties ($ie.visible) and call its methods ($ie.navigate).

Anonymous
  • The issue that I have with this is that ActiveX controls are blocked when I launch an HTML page this way (the HTML resides on my local machine "c:\users\public\documents")

    If I double click the exact same HTML file from Windows Explorer, it opens in IE with the ActiveX control not blocked.