Skip to content

Instantly share code, notes, and snippets.

@ntrogers
Last active December 28, 2023 17:35
Show Gist options
  • Save ntrogers/237143cb705e208c80a572c2a1bd59e6 to your computer and use it in GitHub Desktop.
Save ntrogers/237143cb705e208c80a572c2a1bd59e6 to your computer and use it in GitHub Desktop.
[ Handy PowerShell and cmd commands ]
To open Internet Explorer:
(new-object -com internetexplorer.application).visible=$true
Start Internet Explorer:
%systemroot%\System32\conhost.exe powershell.exe -noprofile -executionpolicy bypass -windowstyle hidden -command "(new-object -com internetexplorer.application).visible=$true"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment