r/PowerShell 2d ago

Script Sharing [ Removed by moderator ]

[removed] — view removed post

11 Upvotes

5 comments sorted by

8

u/ashimbo 2d ago

Why the fuck would I want to run your AI trash instead of just modifying a single registry value?

3

u/thehuntzman 2d ago

All these AI slop posts miss the whole point of powershell which is to provide a way to easily automate certain things in an easy to follow "self-documenting" manner (hence the verbosity of the powershell language). They throw GUI's on top nobody needs and at that point you might as well compile a C# app that does the same thing to avoid all the thread/event management headaches you have to work around in powershell.

I'd honestly be okay with the GenAI posts if they were easy to follow powershell modules with proper pester tests and clear, concise documentation. If you want to AI code a GUI then, just make it a separate project that references the core module that does the real work so it is 100% optional.

-7

u/Sad-Community3241 2d ago

because not everybody is comfortable with that. Also the script goes beyond things that can be done by just registry entries.

but it‘s an offer, nobody has to use it

1

u/Nois3 2d ago

Curious why you have the CMD wrapper. Couldn't you for the whole thing in a single PS script?

Anyway, thanks for the script and the info, very interesting!

-2

u/Sad-Community3241 2d ago

This actually is a single script, just one file