https://brianreiter.org/2010/01/29/powershells-object-pipeli...
Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
21–30 of 350 posts
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#22Just another reason to stay away from Windows as a platform. Windows 10 is a moving target if you are trying to work with it.
PowerShell is fully backwards compatible with cmd. Try again.
This will break a bunch of legacy stuff. That stuff probably deserves to be broken; the cmd.exe syntax has always been pretty disgusting.
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#23Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#24Just another reason to stay away from Windows as a platform. Windows 10 is a moving target if you are trying to work with it.
How is that any different from Linux distributions camping their default shell? Like back when debian changed their default shell to dash I don't remember anyone saying you should stay away from debian, even though it broke a lot of existing scripts.
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#25Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#26So basically instead of doing dir C:\ I have to learn to type List-Directory-With-Files Drive=C Folder=/ (made up example, but you get the point)
http://imgur.com/kDQVBZw
More seriously, how many seconds did it took for the PS to answer to that command?
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#27Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#28Earlier quoted context omitted.
http://imgur.com/kDQVBZw
Sure, go ahead, ruin my joke :) More seriously, how many seconds did it took for the PS to answer to that command?
Measure-Command {dir C:\}
TotalMilliseconds : 2.9708
Measure-Command {Get-ChildItem "C:\"}
TotalMilliseconds : 2.4161Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#29Btw did anyone noticed that in windows 10 you can resize cmd.exe to more than 80 characters width! When I first saw it I almost cried.
Re: Microsoft Replaces Command Prompt with PowerShell in Latest Windows 10 Build
#30So basically instead of doing dir C:\ I have to learn to type List-Directory-With-Files Drive=C Folder=/ (made up example, but you get the point)
I don't know how many times I've been in a cmd shell and typed ls and then swore at things.