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

226 Upvotes

71 comments sorted by

View all comments

1

u/PinchesTheCrab 14h ago edited 14h ago

My biggest issue is the I have to do everything myself because of the lack of security tooling for PWSH compared to other languages.

When I download java libraries I can use a proxy that scans them for vulnerabilities. I can look at a version history with known vulnerabilities and scan results. With all the vulnerabilities AI has discovered lately we have daily standups to discuss security scan results and establish remediation deadlines.

There's no equivalent for PWSH. I host a nuget feed in our repository where I can publish modules and proxy the psgallery, but no security scans are happening on the random third party modules users are installing. It's the wild west, and I think we're one major incident away from cutting off external module downloads entirely.

PWSH lives between scripting and programming and I love it, but it's definitely not a first class citizen among programming languages.

1

u/KevMar Community Blogger 13h ago

Yes, PowerShell package management in general leaves a lot to be desired.

1

u/PinchesTheCrab 13h ago

It's not just that though, there's various apps that scan our code for various coding vulnerabilities we've written, like passing unsanitized user input to another command.

1

u/BlackV 10h ago

I think that's where they're going with the "new" PowerShell gallery being based on the azure container registry

MS will have their own registry where all ms things go (signed and vetted), psgalery will stay the wild wild west, all the OEMs will create their own (hpe, VMware, etc)