PowerShell Open URL in Default Browser

PowerShell Open URL in Default Browser

So I have been working on a new PowerShell project which supports an option to open a selected URL in a web browser. I will post more on this project later but for now lets focus opening a URL in the user’s default browser. After some time I derived the proper registry key locations to get start and I came up with this simple cmdlet below to get the job done.

As always feel free to comment with questions, corrections, or how you would have defeated this challenge.