News for hackers. Stuff that matters.
Re:Microsoft Replaces Command Prompt with PowerShell in Late... by bhouston on Friday November 18, 2016 @08:25AM (#12986543)
Both DIR and LS do list directories in PowerShell.

But all parameters on DIR and LS seem to result in errors, even "dir /h", "dir /?", "dir -h", "dir --help", etc. That is a bit annoying.

Re:Microsoft Replaces Command Prompt with PowerShell in Late... by sapphire_tomb on Friday November 18, 2016 @09:08AM (#12986820)
DIR and LS are both aliases for Get-ChildItem, which doesn't support the flags you're after.
Re:Microsoft Replaces Command Prompt with PowerShell in Late... by kuschku on Friday November 18, 2016 @09:48AM (#12987072)
Then don't make them aliases, if they're not the same.

The issue already happened with cURL.

Re:Microsoft Replaces Command Prompt with PowerShell in Late... by eriknstr on Friday November 18, 2016 @10:55AM (#12987591)
They are aliases for Get-Children. Just like you can have an arbitrary alias for anything on UNIX. If I so pleased I could make an alias so that when I wanted to delete a file I'd type

  emacs some-old-file-i-dont-want.c
Emacs would be an alias for rm on my system.

That being said I think it was quite offensive of MS to use wget and curl as aliases, even though they may have had no ill intentions. I'm ok with using ls and echo and names of other such basic commands as aliases, but with tools like wget and curl that are known for their vast array of useful features you either implement their features and options or you don't use their names.

Re:Microsoft Replaces Command Prompt with PowerShell in Late... by kuschku on Friday November 18, 2016 @11:17AM (#12987777)
> I'm ok with using ls and echo and names of other such basic commands as aliases, but with tools like wget and curl that are known for their vast array of useful features

Well, I can't do my typical ls -la either.

Re:Microsoft Replaces Command Prompt with PowerShell in Late... by erk__ on Friday November 18, 2016 @08:48AM (#12986684)
help( / man / Get-help) dir brings up the help menu for Get-ChildItem