Single post

powershell rant
Toggle visibility

Argh, the thing I hate the most about Powershell is how similar it gets to standard shell tools for some things, but then:

> ls | grep stuff
grep : The term 'grep' is not recognized as the name of a cmdlet, function

Or, the worse one:

> rm -rf .\trash
Remove-Item : A parameter cannot be found that matches parameter name 'rf'.
At line:1 char:4

Like, I'd actually prefer it to be totally different as DOS was, than to have these very obvious inconsistencies.