PowerShell 打开链接

# starts with default browser and adds to open browser
Start-Process -FilePath www.baidu.com

Open URL in a browser in PowerShell

Open URL in default browser Using PowerShell

The below cmdlet will open "https://debug.to" in your default browser.

Open URL in Microsoft Edge Using PowerShell

The below cmdlet will open "https://debug.to" in the Microsoft Edge browser.

Open URL in Google Chrome Using PowerShell

The below cmdlet will open "https://debug.to" in the Google Chrome browser.

Open URL in Firefox Using PowerShell

The below cmdlet will open "https://debug.to" in the Firefox browser.

Open URL in Internet Explorer Using PowerShell

The below cmdlet will open "https://debug.to" in the Internet Explorer browser.

参考链接

最后更新于