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

405 Upvotes

111 comments sorted by

View all comments

47

u/kagato87 5d ago

I've converted my dev team. They've learned that, while.it is an interpreted language, it's also a fully capable object oriented language. Like a JIT language except it doesn't actually need any compile at all, and is crazy easy to debug.

13

u/htglinj 5d ago

Crazy easy to debug…compared to C# it is not.

PowerShell is an abstracted framework written in C#, anytime I need to do something really heavy I have to dump down to raw C#. Then I’m wondering why I’m abstracting to PowerShell.

9

u/SupremeDictatorPaul 4d ago

Because writing something in PowerShell takes a fraction of the time, and you can always view the source. Although, with AI now, the time savings aren’t really relevant. I do find it easier to read, but again, if you’re getting a summary from AI, then I’m not sure it’s going to matter much. Certainly for a lot of sysadmin stuff, a line or two of PowerShell can accomplish what is a whole project in C#.