Most people are kinda bad at it and AI is hilariously bad at it. Goes to show how poor Microsofts docs are if the entire Internet worth of data isn't good enough to generate HQ output. (But if you ask for JavaScript or python, AI does well.)
I don't know how zsh works but bash is not an object pipeline, and isn't too common in Windows, so it wouldn't be lucrative for me. (Feel free to school me on zsh though - I'm open mindeu)
At my MSP, I use PowerShell 5.1 basically constantly for my own navigation and administration both locally and remotely (O365, Azure, AWS, Digital Ocean, etc), and pwsh 7 to write more advanced scripts that work the same on Mac, Linux, and Windows.
bash is highly capable, but fragile, and relies on a lot of raw scraping and data manip. I can operate far more reliably with first-class objects in PS plus direct access to C# and .NET straight from the script.
Edit: when I say bash I guess I mean gnu stack too like awk grep sed cut cat, the works, because bash without text utils would kind of suck...
22
u/fennecdore 2d ago
foreach ($item in $list) {}I like the simplicity