3 ms·
Yes, it is just familiarity that makes Powershell seem weird and Unix shells are notoriously cryptic, coming from a background where saving keystrokes was impor
by smackeyacky 5y ago
Yes, it is just familiarity that makes Powershell seem weird and Unix shells are notoriously cryptic, coming from a background where saving keystrokes was important so all those criticisms are definitely valid.
I still miss that GUI though, when I context switch between a Unix box and a Windows box and then I'm suddenly confronted with some Powershell task, it always make me sigh a little, not least because my old noodle has trouble parsing Powershell as readable. Here's a bit of Powershell I use to go through an Outlook mailbox to look for some stuff (just a snippet) and the where-object and new-object things with dashes in the middle instead of underscores just make it harder to understand. Especially when you have where-object and then you have -eq in the same line.
$account = $namespace.Accounts | where-object {$_.DisplayName -eq "smackeyacky@nowhere.com"}