Page 1 of 1

Managing Files with PowerShell 7 on Linux

Posted: Mon Nov 18, 2019 4:46 pm
by chris
https://www.petri.com/managing-files-wi ... 7-on-linux

But why would you want to? And he obviously doesn't know about 'ls -l'

Re: Managing Files with PowerShell 7 on Linux

Posted: Mon Nov 18, 2019 6:51 pm
by tlmiller
As to the WHY?, I can see wanting it installed on my work computer since it's a member of a AD Domain, it would make it easier/possible to get domain information and manage domain objects through powershell than bash. That's the ONLY reason I personally can come up with. I'm sure there's others.

And yeah, ls -l or even ls -al is a LOT easier to type out than Get-ChildItem. While I'm sure there are things that powershell can do more efficiently, using something that is actually harder in powershell than bash is a...poor...example.