r/PowerShell • Community Blogger • 15h 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

230 Upvotes

71 comments sorted by

View all comments

Show parent comment

0

u/caderoux 3h ago

Also the incompatibilities and quirks between Powershell versions. I literally have a test suite for 5 and 7 because Claude knows how incompatible they are and that everything needs to be tested against both. Developers will be fine and then send a script to a different machine and have all kinds of problems without doing that.

1

u/KevMar Community Blogger 33m ago

I have been developing in compatibility mode for so long that I forget how big of a difference there can be. I haven't really adopted the new stuff in 7, yet I have stopped using all the stuff in 5.1 that isn't in 7.1 a long time ago.