5 ms·
If you need crossplatform scripting and will install a runtime, why go powershell or bash ? Something like ruby or python seems more adpated.
by BiteCode_dev 7y ago
If you need crossplatform scripting and will install a runtime, why go powershell or bash ? Something like ruby or python seems more adpated.
- vedipen 7y agoPowershell is more for administrative automation
- BiteCode_dev 7y agoSame, unless you are on windows only, ps has no benefit. The selling point of ps is the piping of objects. Mac and linux api don't output those.
- death-by-ppt 7y agoPowerShell is built on top of .Net Core, which is also cross-platform. It does pipe objects on all 3 platforms.
- BiteCode_dev 7y agoNot the point. No unix api does.
- majkinetor 7y agoIts designed for shell usage, python, ruby and friends don't feel "native" in that manner and are simply akward for many cases by missing most improtant thing - pipeline. People use them because bash suck and because they want to be full stack. Besides, Powershell comes with OS.
- BiteCode_dev 7y agoKeyword is "crossplatform"
- death-by-ppt 7y agoPowerShell Core is cross-platform. It runs on Mac, Linux and Windows.
- BiteCode_dev 7y agoNot the point. Check other comments about ps on unix.