r/PowerShell • Community Blogger • 9d 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

426 Upvotes

115 comments sorted by

View all comments

1

u/DoctorSalad8682 4d ago

As a sysadmin, powerfully is incredibly easy for me. I went to college and spent 4 years learning python, php, and Java. Just because you dont understand powershell doesnt mean it's flawed. We all learn differently, and i love the power and flexibility of powershell. If it doesnt make sense to you, use something else. I dont understand you venting your frustrations to the internet hoping for some solace because something that is fantastic and intuitive for most sys admins doesnt make sense to you.

1

u/KevMar Community Blogger 3d ago

Absolutely. Not every language is for every person. I personally really enjoy PowerShell and was a Microsoft MVP for it a few years back.

I'm sharing the common experiences that I have seen others with a stronger background in programming have with it. I wrote it with a few different audiences in mind:

  • For the developer going through it, to let them know that they are not alone. And to call out a few other things they might also run into before they do.
  • For the developer that already learned it, for the recognition and nostalgia of issues they already overcame.
  • For the advanced PowerShell scripter, to find the humor in the struggle of someone who thought it was so simple they could skip the documentation.
  • For the intermediate PowerShell scripter, to show some nuances to things they already use but might not fully understand yet.
  • For the vibe coder, to remind them that AI will make these types of mistakes too.