this post was submitted on 24 Mar 2025
32 points (100.0% liked)
Linux Questions
1569 readers
1 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.
From an enterprise IT stance I'd disagree. For phython you need an interpreter, while powershell is available on every random windows 20xx server. It is far easier to do this task in PS than requesting the python interpreter to be installed on the machine and then doing it in python.
Unless you are on a Linux box
Yes sure! Unfortunately most companies which I work for (insurance and banks mostly) still use windows quite often...