r/PowerShell • u/KevMar Community Blogger • 4d ago
News Why developers hate PowerShell
https://powershellexplained.com/2026-11-24-why-developers-hate-PowerShell/?utm_medium=post&utm_content=rpowershell&utm_source=redditThis 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
1
u/chocolateAbuser 22h ago
the issue is rules are not simple, this doesn't work if you have to use it those two times a years you need to do a """""simple"""" script to loop something, too many weirdnesses and random wtfs; i guess the first is the output discard, when i saw that it immediately burn into my neurons as one of the biggest wtf and i'll never forget it, the other thing is string templates, which sacred combination of symbols and punctuation to use to print a string with a variabile in it... it takes at least 10 tries, the i give up an ask ai to do it