|
|
|
|
|
by criddell
3678 days ago
|
|
Most of my big complaints about syntax are related to the shell-ness of PowerShell. For example, when comparing things, I really want to use '<' and '>' rather than -le and -gt. Generally though, the syntax is different but once you learn it, it's mostly fine and sometimes the text-based nature of Unix commands means you have to do a lot more reg-exing. For example, compare these two: ps -ef | grep "chrome" | awk '{print $2}' | xargs kill
vs ps -name chrome | kill
Of course it's just a matter of preference, but I prefer the the PowerShell version. |
|
> and sometimes the text-based nature of Unix commands means you have to do a lot more reg-exing.
That's a feature that has far more upside than downside.