3 ms·
Powershell is well...powerful and I can't say much bad about it. Bash scripting can be a pain but I like using bash scripts to chain together io from installed
by _8j50 4y ago
Powershell is well...powerful and I can't say much bad about it. Bash scripting can be a pain but I like using bash scripts to chain together io from installed programs, the same task is difficult in powershell. Powershell lets you do stuff nicely if you stick to powershell modules and .net stuff. It's not very nice when wrangling output from $randomprogram.
But regardless of platform I use bash or powershell usually for very small self-contained scripts and python for anything more extensive.
I always say powershell is more akin to python or perl than bash except python never got around to making repl into a shell interpreter or nice things like script signing enforcement.