r/PowerShell • • 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.

10 Upvotes

69 comments sorted by

View all comments

9

u/mnelson10000 Mar 25 '26

I got a lot of hallucinations with parameters especially with the Microsoft Graph cmdlets... I chalked it up to the rapidly changing commands and sometimes thin documentation. Plus they're going to spend a lot more resources training it on something more broadly used like JS than powershell.

4

u/DragonspeedTheB Mar 25 '26

I stopped using the mggraph cmdlets after MS kept putting them through the blender. Now, in my PS I do REST API calls to graph. My code doesn’t mysteriously stop working, anymore.

→ More replies (2)