Open Multiple URLs in Browser

Hello there,

I’m new to PowerShell. I was trying to open a specific set of web pages in my default browser, MS Edge. It works perfectly fine for other browsers but in Edge, it opens a blank tab after each new web page.

$urls = @("https://mail.google.com/","https://www.youtube.com/","https://forums.powershell.org/")
foreach($url in $urls)
{
Start-Process msedge.exe $url
}

Hi, welcome to the forums :wave:

I copied and pasted your code and it worked fine for me. Each site opened in a new tab.

Maybe it’s my Edge. Every site is separated by a blank tab.

Quick Google finds an old problem that looks similar when Edge is configured in Enterprise mode. Is yours?