Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Open default web browser in Powershell??

$
0
0

I am trying to figure out how to open the default browser in powershell.  All I can seem to find is:

new-object -com internetexplorer.application.

I use chrome as my default,  I found the following command online "Start-Process "chrome.exe" "www.google.com" example, but the new-object command above doesn't like it which is understandable. anyone know how I could specify chrome to load the page?

Cheers


Viewing all articles
Browse latest Browse all 6937

Trending Articles