Stupid to run random scripts you find online, but browser makers push users into it.
My son wants to eat "Chinese" food with chopsticks, but he can only really use a fork, so we adapt the chopsticks. He'll be able to use them eventually, but not everyone has a) the desire, nor b) the dexterity.
Making it easier to do what users want with a computer without telling them 'just learn to program' (or script in this case) is actually a good thing imo.
A computer is meant to be programmed by the user. That is its raison d'être from the very beginning and why it is called like that.
Do you see how stupid that sounds?
Good UX is one of the most important-yet-underserved areas in the tech industry (the topic of this site), and this sort of attitude goes beyond being smug and naive to being actively harmful. Your goal should always be to make things easier and with as little friction as necessary.
Normie users would be better off reading some detailed step-by-step instructions on how to do it by hand using built-in methods than to run random code from the internet that can be malicious.
My mom is 75 years old and barely knows how to use a web browser to begin with. There is zero chance I encourage her to run random pwsh scripts from the internet.
God forbid we're going to start giving them AI agents to do this kind of stuff for them. God help us.
Knowing where to look and which settings are relevant, for yourself, is a crazy ask of even very computer savvy users.
Why?
When Mozilla updated Firefox with the AI chatbot feature the first thing I did was look in settings in how to remove it. When that failed I just googled it, which pointed me to about:config and which keys to look for.
Much easier to figure out with your intuition what `browser.ml.chat.enabled` could possibly mean than running pwsh script.
All it takes is a bare minimum of curiosity.
Personally, I don't trust most popular software either, but its easy to see why people would be fooled into thinking that software written by a major corporation used by millions of people might be more trustworthy than a script uploaded by a random anonymous person who couldn't be held accountable if their software infested your system with malware.
Otherwise, you're the sort of normie carpenter who doesn't even do their own land clearance ready for seeding. For whom you must express your utmost contempt! /s