1. FAHMI BASSEM's Avatar
    What are the benefits of PowerShell over CMD?
    Thank you :)
    02-11-2017 08:14 AM
  2. tonytranupg's Avatar
    I got this in howtogeek.com, check it out!

    How PowerShell Differs From the Windows Command Prompt
    FAHMI BASSEM likes this.
    02-12-2017 09:55 AM
  3. orlbuckeye's Avatar
    More power and many more commands. Both are in Windows 10 so you don't have to do Powershell.
    02-13-2017 08:28 AM
  4. tonytranupg's Avatar
    More power and many more commands. Both are in Windows 10 so you don't have to do Powershell.
    I prefer CMD than Powershell because I don't use that much commands, just a few. So CMD would be enough.
    02-13-2017 10:44 PM
  5. madcursor's Avatar
    It is an option given to power users who want a more powerful command line tool. For everyone else, CMD is still there and is default unless you want to explicitly use powershell instead. I to prefer CMD, mostly because of nostalgia, but I do like being given the option.
    02-14-2017 01:08 AM
  6. Mihai N's Avatar
    I also used CMD the very few times I needed it, but I think MS will likely replace it in time. Just like they will gradually migrate all of Control Panel to the Settings app, CMD might be replaced as well after MS considers users got used to PowerShell
    02-14-2017 02:29 AM
  7. tonytranupg's Avatar
    I also used CMD the very few times I needed it, but I think MS will likely replace it in time. Just like they will gradually migrate all of Control Panel to the Settings app, CMD might be replaced as well after MS considers users got used to PowerShell
    I agree that Powershell is more powerful and most commands in CMD can work in Powershell properly. However, I still like CM because opening it is so simple. Just press Win + R, type cmd and Enter.

    That's it :). Very quick :) Right?
    02-14-2017 05:09 AM
  8. madcursor's Avatar
    You can replace CMD with Powershell so it opens with Win + X shortcut. To do this, go to settings (Ctrl+I) > personalization >Taskbar. There turn on the replace command prompt with powershell option.
    Our you could always use win+r and powershell :)
    02-15-2017 12:59 AM
  9. Cruncher04's Avatar
    PowerShell is an incredibly powerful scripting environment integrated into an object oriented shell. From the viewpoint of command shell the biggest difference to legacy shells like cmd, bash, csh etc. is its object oriented nature. So while conventional shells read text from stdin and put text to stdout, PowerShell passes objects around.

    Example bash:
    "ls" returns formatted text, which shows the content of the current directory. In order to get the name of the 3rd file you need parsing tools like grep and sed etc. to extract the name from the formatted text

    Powershell
    "ls" also returns hat the content of the current directory but as array of file objects. In order to get the name of the 3rd file you just type.
    (ls)[3].name

    You want to kill all instances of Edge running?
    ps | where { $_.name -match "edge" } | kill

    Explanation:
    ps returns an array of process object current running on your system. This is piped to the where-commandlet, which filters the objects where the name match with regular expression "edge" and finally the result is piped to the kill command.
    planetf1 likes this.
    02-15-2017 06:58 PM

Similar Threads

  1. What happened to the incremental updates?
    By mbrooks78 in forum Windows 10 Insider Preview
    Replies: 3
    Last Post: 02-11-2017, 02:36 PM
  2. How to win at Rainbow Six Siege: 10 Multiplayer tips and tricks
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 1
    Last Post: 02-11-2017, 11:00 AM
  3. Update path from WP8.1 to W10M?
    By Aziz Abdurachman in forum Windows 10 Mobile
    Replies: 1
    Last Post: 02-11-2017, 06:49 AM
  4. why don't i have internet access on my phone after making my pc a mobil hotspot?
    By Windows Central Question in forum Ask a Question
    Replies: 0
    Last Post: 02-11-2017, 05:15 AM
  5. Replies: 0
    Last Post: 02-11-2017, 03:36 AM
LINK TO POST COPIED TO CLIPBOARD