Downloaded script.
Imported functions into powershell session.
Tried to set chrome as default browser using "Set-PTA ChromeHTML http".
Error is thrown "Write Reg Protocol UserChoice FAILED".
Chrome is not the default.
OS: Windows 10 22h2 (19045.4123)
Powershell: 5.1.19041.4123

Chrome can be selected by Windows Default Apps control panel.
Any assistance would be greatly appreciated. Thank you.