Saturday 17 April 2021

Open URL in a browser in PowerShell

 

Open URL in default browser Using PowerShell

Start-Process "https://microsoft.com"



Open URL in Google Chrome Using PowerShell

[system.Diagnostics.Process]::Start("chrome","https://microsoft.com")


Open URL in Microsoft Edge Using PowerShell

[system.Diagnostics.Process]::Start("msedge","https://microsoft.com")


Open URL in Internet Explorer Using PowerShell

[system.Diagnostics.Process]::Start("iexplore","https://microsoft.com")

No comments:

Post a Comment