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

294 Upvotes

85 comments sorted by

View all comments

Show parent comment

1

u/MasterChiefmas 23h ago edited 23h ago

I am still leaning on the average Windows user experience more than the specific developer experience that shouldn't be assumed to be using Windows by default anymore.

Ok, if that's the case though, the title of your article is mis-matched from your target audience. You're article literally mentions devs. I don't know if it's fair to call a dev an average Windows user, though I wouldn't also assume a dev knows all the ins and outs an experienced admin would either. Although...I guess now that I think about, maybe I read the title differently then you intended. I don't know if I was an average user if I'd be overly interested in why Dev's don't like it. I'd expect a Dev that was considering or had some work coming up in PS, to be interested in it.

the execution policy stuff

I don't believe this is true if it's blocked at the domain level, but I could be wrong there. I don't have a domain I can test it on anymore.

You should get a deny error if the domain policies are being applied and enforced.

I'd be interested if someone does have a domain running they can test it for us on, if they are able to block it, probably at machine and user policy levels, if it prevents using bypass.

1

u/KevMar Community Blogger 23h ago

I found my mistake and updated my comment. You can manage it one of two ways via GPO, one of those does block it and the other just complains.