r/PowerShell • u/derekhans • Oct 15 '26
News New Rule - AI Disclosure
If you are posting a script, tool, or anything else you’ve used AI, LLM or whatever to make, it must be disclosed. This includes anything from complete authorship, formatting, comments, or language/translation assistance.
If your script or content is suspected of being AI written and it is not disclosed in a tag or at the top of the post, it will be removed until investigated.
Community: This is at your request. Report any undisclosed suspected AI “slop” for investigation.
EDIT: I’m going to be clear. We’re not saying you can’t post AI created stuff. We’re saying you have to disclose that you are. If you have a problem with that, you’re not proud of the fact you used an AI tool. You’re deceiving people into thinking you wrote it. Anyone who uses whatever AI wrote deserves to know and take the diligence necessary to review it before using it, same as they would anything else.
64
u/recoveringasshole0 Oct 15 '26 •
This is going to look really funny in 10 years.
Imagine in 2006 having to tag everything with "Found on Google" or "Pasted from Stack Overflow".
edit: to be clear, I hate it when people are like "I made this!" and it's 100% AI slop. But, not everything that uses AI is slop.
23
u/ExceptionEX Oct 15 '26
I'm all for poorly crafted slop, but Microsoft official scripts are now largely being AI generated.
To me this disclose should be about a quality check and not some witch but hopefully
26
u/zenyl Oct 15 '26
Really great to hear.
Does this also cover when the post itself is AI-generated? Any software-related subreddit that isn't properly moderates these days just devolves into a load of posts titled "I made [...]" or "I got tired off [...] so I made [...]", with the same cookie-cutter wording, excessive use of em-dashes, unnatural use of bold, etc.
4
u/Alarmed-Shine8133 Oct 16 '26 •
After reading through the discussion, I thought I'd throw in my $0.02. I think a better, non-prejudicial way to frame this is not disclosure but discussion.
To me, this reddit is a place to learn about problem-solving with PowerShell. When you use AI to create PowerShell solutions, like I frequently do these days, you're engaged in a fundamentally different kind of problem-solving and the problems you encounter and workarounds or fixes you implement are often very different from hand-coding work. Sharing what you do can give people a jump start on their own problem-solving.
So: any chance to reframe Rule 11? I would like it if we could encourage people to talk about how they do things, and if it makes people who don't like AI aware that a tool is made with it, that's fine by me. As it is phrased now, though, it doesn't encourage that discussion; instead, even if unintentional, it makes it sound like something people shouldn't do and should be embarrassed about when they do.
11
u/mfunebre Oct 15 '26
I just don't see the point of tagging code as AI-generated in a merit/upvote-based community like this of reasonably educated Powershell knowers. One would presume useful things of good quality get upvoted because they are useful and/or good, what does it matter if the code was touched by an AI? The slop will be downvoted / removed regardless. How much AI slop are you really getting posted to the sub for this to become a rule? You're just opening the door to actually usefull things being removed because people see the "AI" tag and immediately downvote.
Besides, doesn't any dev worth his salt use AI to at least autocomplete or generate outlines and documentation/comments? Everything will just have to be tagged. The tag should be "Vibe-Coded" and then it would be useful as a warning to people to go in with eyes open for incongruous mistakes or AI-whackiness.
20
u/theDukeSilversJazz Oct 15 '26
Thank you.
15
u/Creative-Type9411 Oct 15 '26 edited Oct 15 '26
so every single post has to have this tag now?
You're going to tell me that no one has googled anything about powershell in the last X years? Where an AI response gives you an answer?
If you're going to make this rule, people are going to have to put this tag on everything.. otherwise they're lying.. I was posting stuff in the sub long before I used AI but I use it now, and any time I'm not sure about something I will either Google it ask the local LLM I have running in my personal server.. but one thing I can tell you I'm not doing anymore. Is looking on stack or waiting weeks for answers, im not doing that anymore.
The main problem I have with this is that people don't look at the content at all as soon as AI had anything to do with the project, the entire core of the project gets ignored
as an example, someone was showing how to do Matrix conversions in Powershell, I used AI put a quick and dirty example together, so everyone could see what he was talking about.. he called it. A vibe coded beast... so I just deleted the project and no one else will ever work on his idea while he is alive.. because I was the audience and he's more worried about how I made the example
this rule will just make me keep some very useful tools and showcase pieces private.. I wonder how many other people will keep higher level scripts private.. i'd rather just keep it and use it myself, then be accused of being a vibe coder in the sub where no one else is sharing anything
5
u/BobRepairSvc1945 Oct 16 '26
I will get downvoted, but honestly any human-written code should be tagged, and everything else should be assumed to be AI-written. Let's face it: the days of humans writing code are coming to a close.
11
u/Euphoric-Blueberry37 Oct 15 '26
Finally some good fucking food
4
u/FeleaseRpseineEiles Oct 15 '26
Close our eyes and we can pretend -- lest not forget.
This comment was not AI generated. I love pwsh but the bots are better than me after a few years and Ive been at it for a decade.
4
u/Southpaw018 Oct 15 '26
> Post about requiring AI disclosure after tons of AI scripts get posted where AI bros get combative and don’t understand the scripts they’re posting
> AI bros get combative and don’t understand the rule because they didn’t bother to read the whole post
Yep.
2
u/Overall-Ad4796 Oct 17 '26
two words: thank you
1
u/Fakula1987 Oct 16 '26
Funny Thing.
Thats EU law :)
1
u/narcissisadmin Oct 18 '26
Dumb rule. AI generated scripts are immediately obvious to anyone with even a modicum of Powershell experience, and many submitters here are very green and may not know why "their" script isn't working.
1
u/djmakcim Oct 18 '26
You know, this is what I don't understand. The deception of trying to play off obvious AI generated scripts, etc., and pretending like it wasn't used.
Very recently some colleagues of mine who didn't have any prior ability to code with PowerShell, especially not to make GUI-rich apps, now suddenly are cranking out all kinds of polished "apps". I was like, "oh wow! That's crazy! What did you guys use to make this??", "PowerShell". Ok, sure, but clearly this was prompted through AI to generate...
1
u/zrb77 Oct 19 '26
What problem is disclosing as AI code trying to solve? To know how much credit to give the OP, to know what to expect quality-wise of the code, how much to trust the code, all of the above?
1
u/sniekielak68 Oct 16 '26
Solid rule. One thing worth thinking about, where do you draw the line on "formatting assistance"? like if someone just asks for help writing comment blocks on an otherwise hand-written script, does that count?
-2
u/BlackV Oct 15 '26
did we add a custom reason in the report tag ?
EDIT: Oh we did indeed
AI Writtenis the reason, nice work-6
u/SQLDevDBA Oct 15 '26
Thank you. This needs to be a standard on every sub.
-1
u/Intrepid_Ring4239 Oct 18 '26
What’s the point? Powershell itself is being written by AI now. Why is anyone wasting time writing scripts by hand anymore? If you can’t properly prompt an AI to write/test/debug a solid ps script then you almost certainly can’t do it yourself.
-32
u/mdervin Oct 15 '26
This reads like AI.
0
u/[deleted] Oct 15 '26
[deleted] — view deleted comment