, , , ,

Open website from PowerShell

1–2 minutes
8 comments on Open website from PowerShell
Open website from PowerShell

If you want to directly open a website from the PowerShell console, you can use the Start-Process cmdlet. This will open the website in the default browser:


Start-Process "https://www.thomasmaurer.ch"

You can also use “Start” which is an alias for Start-Process:


Start "https://www.thomasmaurer.ch"

Yes this is a very short post, but I hope this was helpful and you can now open a website from PowerShell.

8 responses

  1. Federico Crivelli Avatar
    Federico Crivelli

    Nice one 🔝

  2. Federico Crivelli Avatar
    Federico Crivelli

    I also found very helpful to invoke files over http when stric IE rules apply

  3. Mark Rainbird Avatar
    Mark Rainbird

    Short but exactly what I needed – thanks.

  4. Alejandro Cruz Avatar
    Alejandro Cruz

    Thank you

    1. Thomas Maurer Avatar

      you’re welcome :)

  5. s31064 Avatar
    s31064

    This is great. I created a script to open 30 different URLs we’re having a problem with. They get 500 errors intermittently. Is there any way to modify this script to catch a 500 error as it opens each page?

  6. Kieran Dineen Avatar
    Kieran Dineen

    How would you include username and password and get these to authenticate so that the site would open?

  7. Jacob Lusco Avatar
    Jacob Lusco

    Is there a way to suppress the Command prompt that also opens?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.