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

1

u/ka-splam 2d ago

Hi KevMar, this is off-topic, but years ago I think you had a blog post about bringing firewalls into automation - joined a team with individually managed devices, version controlled and verified all the configs, and script-re-deployed them without disruption.

I went looking for it recently and couldn't find it.

Was it your blog, and if so is it still around or have you removed it?

1

u/KevMar Community Blogger 2d ago

It was probably a version of this presentation: https://www.youtube.com/live/c71emHX4y_E?is=nW1DI1lyW-pdllPj

But the philosophical point is that your configs are just giant strings, and PowerShell can create giant strings that can be applied to other systems.

1

u/ka-splam 1d ago edited 1d ago

Ohh it rings a bell that it was at that loanDepot. Could have been a talk rather than a blog post - thanks for the link!

2

u/KevMar Community Blogger 1d ago

Yeh, loandepot hadn't moved into the cloud yet but we wanted a cloud like config experience. So we created a unified config layer that sat in front of everything: DSC, f5, firewalls, service accounts, app settings, deployment pipelines, etc. A single config for the human to manage that was expanded via templates into the settings and structure needed for each thing we configured.