3 ms·
OpenSSH with powershell is such a great combo. I was very skeptical about powershell, but after writing many scripts I’m a convert. Powershell does so many thin
by nojvek 8y ago
OpenSSH with powershell is such a great combo. I was very skeptical about powershell, but after writing many scripts I’m a convert. Powershell does so many things nicer than bash. It feels like a real programming language but still not loosing its scripting roots.
For running tests for a GUI application which requires us to spin thousands of Machines in parallel, manage job queues, interact with Windows UI automation, do some html result dumping, shell buffer streaming, and a whole bunch of crazy things, powershell interfaces with things really nicely.
I absolutely love that powershell pipes streams of objects rather than just streams of bytes. So much more expressive.
- nailer 8y agoYep. I've been using bash since the 90s, and really got into Powershell a couple of years ago (I now run it on macOS too). The amount of people who try and explain bash basics to me when I say I use Powershell is staggering. I'm quite good at regexs thanks, I just like my scripts picking keys 'select' and 'where' rather than scraping with grep / awk etc. The amount of (poor) pwsh clones on Linux is a good testament to the solidness of this approach.
- mixmastamyk 8y agoScripts over say, 10 lines or so shouldn't be written in bash. That's when moving up to Python or Ruby makes sense.
- h1d 8y agoI just can't get over the verbosity of PowerShell. With all the "do 1 thing well" utilities glued by bash, it just feels real effective.