r/PowerShell • u/rsdovers • Mar 25 '26
Question What am I missing
I have used VSCode with Copilot and different Claude models, but I have to often correct the output generated. I have used Copilot when it was mostly code completion and now with the Plan process I am still not getting accurate code from the plan. What am I missing? I read all of the blogs and press releases where AI built this complex application without touching the code. Maybe that is it. With the new Plan process I haven't written one line of code. However, I sure have had to correct several things that were discussed in the planning process. If a simple Powershell script can't be written without a fair amount of handholding am I doing something wrong or is what I am reading not completely accurate. I can't see this taking the job of a very experienced Powershell scripter, but for entry level I see a challenge ahead.
View all comments
Show parent comment
-14
u/tstager Mar 25 '26
I get nearly perfect code on each run. I've written 50000 lines of script in the last 2 weeks. Gpt5.4 is better than claude in my opinion. If you want code that works after 1 chat, you have to let it iterate. You have to create specialized custom agents with the specifications you expect. It is as good as they say but most people don't know how to use it correctly. Setup a repo and give the agents good instructions. Anyone telling you otherwise or thinks they are better than AI at coding or Powershell is dreaming. Copilot is writing the language with it. Don't be afraid of it to auto approve everything and let it do it's work.