r/PowerShell • Community Blogger • 16h ago

News Why developers hate PowerShell

https://powershellexplained.com/2026-11-24-why-developers-hate-PowerShell/?utm_medium=post&utm_content=rpowershell&utm_source=reddit

This is a post that I have been thinking about writing for a very long time now. I find that developers struggle with PowerShell in a very different way that the sysadmin learning to automate. They bring intuitions and assumptions with them from other languages that catch them off guard when they skip over the documentation. In this article I try to capture some of those experiences and misunderstandings.

I cover a lot of ground in this one: running scripts, execution policy, aliases, objects and formatting, calling functions, output and return values, unrolling, operators, case sensitivity, type conversion, truthiness, strings, scope, automatic variables, paths, encoding, errors, native commands, and classes.

While this one is targeting Software Engineers more then Systems Engineers, I would still appreciate your feedback and stories of your own frustrating experiences.

Thank you, -Kevin

238 Upvotes

72 comments sorted by

View all comments

1

u/neotearoa 11h ago

Kevin, I'm a genius dumbass. I've failed up in it my entire career; held back by crippling ADHD and boosted by methylphenidate and the late age diagnosis chip on both shoulders. I'm currently squashing 50 pounds of shit into a 40 pound bag using AI and so so many times have I been stung by the fact that llms have been trained on not powershell.

That section alone was almost more significant than the article in its entirety for me.

As I read each paragraph, I chuckled a little thinking yup, been bitten by that before when writing pre AI.

Then quietly another more recent and less decipherable feeling of familiarity arose that was immediately unlocked at the training paragraph.

Cheers from the top of the world, in the best, least drawn country you know.

1

u/KevMar Community Blogger 8h ago

Thank you. It was the realization that AI was making these same mistakes that pushed me to finally write this post.

0

u/neotearoa 8h ago

Kevin, ngl, I felt smart when the penny dropped. My suspicions were correct but my knowledge was lacking. So thank you. I immediately turned the page into a skill and have been using it since.

This is for a personal project to help me bridge the gap between my chemical disadvantage and my persistent refusal to be bound by it.

I'll still die as dumb as I was born, but you know I'll be just that much happier for this.

Chur.