Am I missing something?
To me, “scripting” is the enemy of security of PC’s.
I’ve long been a heavy Linux user. Since 1994.
I’m no fan of MS’s swiss cheese of operating systems. (not because they can’t secure them, but they won’t. For their own reasons)