this post was submitted on 24 Mar 2025
31 points (100.0% liked)
Linux Questions
1529 readers
20 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
My current stance is that if your task is complex enough to require the advanced features powershell offers, it should probably just use Python or similar programming languages instead of a shell script. Hell, I'd even argue that is almost exactly what Python is for: it is simple to hack something together while offering powerful stuff in its standard library and common packages.
I went through the comments to check if someone hadn't already mentioned exactly this. Here you go.
I have used PowerShell since its inception, and still believe that the Monad manifesto is very relevant. However in recent years I have switched to Python for this same reason.
It's more widely available, especially outside of Windows it already has greater support for advanced features. PowerShell is not a first class contemporary to Python on Linux.
Quite easy to learn. A lot of default learn materials, tutorials, examples.
You'll also be able to find people in market with Python experience more readily (especially going forward) if you need to hire talent for your company.