Re:My manager spent $1M on a backup server that I never used
by olavgg on Friday March 03, 2023 @04:24AM
(#35007487)
The big problem with Powershell vs Unix is lack of documentation. Seriously, everything takes 100x less time to figure out on a Unix platform than Powershell. And my life is to short for that.
[ Parent
| on HN ]
Re:My manager spent $1M on a backup server that I never used
by jiggawatts on Friday March 03, 2023 @06:14AM
(#35008144)
It has hundreds of pages of clear documentation, video training, you name it.
https://learn.microsoft.com/en-us/powershell/scripting/learn...
https://learn.microsoft.com/en-us/training/paths/get-started...
It is also far more discoverable than any other shell I've ever used. Install PowerShell 7 on Linux now. e.g.: https://learn.microsoft.com/en-us/powershell/scripting/insta...
Now try some of these commands. Can you guess what they do?
Get-Command Export-*
dir | Get-Member Last*
Get-Help Sort-Object -Full
dir | Sort-Object LastWriteTime -Desc | Export-Csv 'files.csv'
Re:My manager spent $1M on a backup server that I never used
by vips7L on Friday March 03, 2023 @09:41AM
(#35010178)
Powershell docs are literally built in…
help <command>
That being said powershell is much more discoverable _for me_ because it’s simple objects that get piped. I don’t have to figure out how to parse the text of a traditional shell. I can just get things done.