Powershell. How to change User Agent for the Webbrowser?

Good afternoon.
Is it possible for the WebBrowser to change User-Agent in Powershell?
Or somehow force him to go through another browser.

I understand by default it goes through IE. Getting JS error. The same is observed in C# according to the Internet.

Thanks in advance for the answers.
June 27th 19 at 15:32

Find more questions by tags PowerShell