Command Prompt & PowerShell

Discussion in 'Windows 10' started by pisthai, Dec 11, 2016.

  1. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,222
    2,272
    240
    [h=2]Command Prompt & PowerShell[/h]
    Sure PowerShell has it's advantage and could do something more than the simple Command Prompt (CMD)! In latest Build the Command Prompt in Star Menu was changed to PowerShell, which many users not liking.

    So, I don't know users realized that it's an easy task to get the good old Command Prompt back? It's quite simple:

    1. open Settings
    2. open Personalization
    3. click on Taskbar
    4. and change the switch below: Replace Command Prompt with Windows PowerShell from On to Off


    That's it and user now will have the good old Command Prompt back in Start Menu as well is use Windows Key and X​
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,052
    60
    Thanks for info, but do you have any idea, what registry entry is it supposed to be? :thinking: I would like to be ready for it in spring 2017.

    I guess something like: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\powershell.exe ... ?
     
  3. CMD & Powershell

    Seek #Registry -> HideBasedOnVelocityId
    Seek #Registry -> ShowBasedOnVelocityId

    for example to show:
    HKEY_CLASSES_ROOT\Directory\shell\cmd
    Change Name (REGD-WORD32) HideBasedOnVelocityId to ShowBasedOnVelocityId

    for example to hide:
    HKEY_CLASSES_ROOT\Drive\shell\cmd
    Change Name (REGD-WORD32) ShowBasedOnVelocityId to HideBasedOnVelocityId


    (don't forget to change the registry key permissions)
     
  4. Foreseenothe

    Foreseenothe MDL Novice

    Apr 4, 2015
    49
    11
    0
    Or just type cmd in powershell.
     
  5. TairikuOkami

    TairikuOkami MDL Expert

    Mar 15, 2014
    1,172
    1,052
    60
    I do not have PS. :pardon:
     
  6. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,447
    90
    This is just retarded. Sure, powershell is much more powerful than the command prompt, but it's much slower too. What's next, they replace powershell with visual basic, or bash? There's a place and time for all these environments, but the command prompt should stay where it is. If you want to run powershell, run powershell from the menu or call it from the command prompt or whatever. I have nothing against it, but it seems to me that Microsoft is smoking crack.
     
  7. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,222
    2,272
    240
    That would simply mean to have 2 apps running at the same time for to use just one?!

    The simple fact is, the Command Prompt is much more used as the PowerShell, which means, that direct access to the Command Prompt is really needed. Simply keep in mind, most computer users are having just basic knowledge!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240

    @pf100 congrats to the post, I think in same manner :clap:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,984
    1,331
    120
    Bash is powerful but is not slow, I use it every time since the LXSS was introduced
     
  10. pf100

    pf100 Duct Tape Coder

    Oct 22, 2010
    2,069
    3,447
    90
    I only said powershell was slow.
     
  11. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,222
    2,272
    240
    As always: WHAT is used, is simply up to the user! Period!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    7,222
    2,272
    240
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,440
    1,420
    60
    Yes, but you need a 64 bits windows.
     
  14. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,984
    1,331
    120
    Assuming that for whatever reason you still need the 32bit version and at the same time you need Bash, you can always use the cygwin version.