Windows 10: cmd vs powershell

Discus and support cmd vs powershell in Windows 10 Support to solve the problem; Greetings. As a normal PC-geek I don't know how, when and why I should use Powershell instead of cmd. Or in another way, why has Microsoft changed cmd... Discussion in 'Windows 10 Support' started by Burgurne, Jun 17, 2017.

  1. Burgurne Win User

    cmd vs powershell


    Greetings.
    As a normal PC-geek I don't know how, when and why I should use Powershell instead of cmd. Or in another way, why has Microsoft changed cmd to Powershell in the right-click menu? What are the benefits?

    Or has Microsoft just done this to make fun of us, that don't know all the commands to Powershell ?*Sad

    I have found (and used) Brinks good guide to make the cmd rearrive at the menu instead of Powershell, but what am I missing by not learning Powershell??? *Redface

    :)
     
    Burgurne, Jun 17, 2017
    #1
  2. Mike-77 Win User

    Can't run Powershell or cmd.exe as administrator

    I'm not really an expert on PowerShell or cmd. Sometimes I'll have a problem with the computer, and when I look around for ways to fix it, sometimes need to use cmd, sometimes PowerShell. There's a good explanation about the differences between PowerShell
    and cmd here.
     
    Mike-77, Jun 17, 2017
    #2
  3. Facing some issues in CMD and PowerShell

    To resolve your concern, you may perform System File Checker. To do so, check this

    link
    .

    Let us know the results.

    Regards.
     
    Realyn Mar, Jun 17, 2017
    #3
  4. cmd vs powershell

    MS just wants more people to use it, thus it has brought it to the foreground.
    I always remove it, since mostly only malware uses it, especially ransomware.
    Powershell is a great tool for system admins, since it allows to do more and faster.
     
    TairikuOkami, Jun 17, 2017
    #4
  5. vram Win User
    I find PS has this lag to it on startup. The Windows pops up almost immediately, but there is a delay as to when you can start typing anything. Witnessed it on multiple PCs. I hate it for that reason alone.
     
  6. Mystere Win User
    If you don't know why you would use powershell vs cmd, then you probably only need cmd. However, there may be times (especially if you're following a tutorial on here) where they will give you commands that are powershell commands.

    There are many subsystems in Windows that have Powershell interfaces for command scripting. So you have to issue commands from Powershell for these.

    As an aside, you can enter most cmd commands in powershell and they'll work just fine. For a lot of people you can use them interchangeably.
     
    Mystere, Jun 17, 2017
    #6
  7. johnpd Win User
    Powershell is tremendously more powerful and complex. It requires a steep learning curve especially if you are not familiar with an object oriented programming language. There are some things in CMD prompt that do not work in Powershell. If you are using fairly basic commands and batch files, CMD will do although it can do some fairly complicated stuff as well. The biggest problem I have found with Powershell is finding appropriate documentation for it although there are thousands of examples on the net to which you can refer.

    JohnD
     
    johnpd, Jun 18, 2017
    #7
  8. Bree New Member

    cmd vs powershell

    That includes the command CMD itself, which will run a command prompt within the PowerShell window. Type EXIT to get back to PowerShell when you're done...
     
  9. pparks1 Win User
    You can run the same commands in powershell as you can in cmd, but you can also run a ton more powershell commands.

    I think MS changed it because
    1). More people are using powershell
    2). MS is encouraging those who don't use PS, to start using it.
     
    pparks1, Jun 18, 2017
    #9
  10. Bree New Member
Thema:

cmd vs powershell

Loading...
  1. cmd vs powershell - Similar Threads - cmd powershell

  2. Disabling sleep / hibernation timer through powershell / cmd

    in Windows 10 Ask Insider
    Disabling sleep / hibernation timer through powershell / cmd: Hi all, I was wondering if anyone knows a way to disable sleep / hibernation through cmd or powershell. I have a system I ssh into at home so I only have a shell but it seems to go into sleep mode after x amount of minutes each time. Any solution? EDIT: a way to reset the...
  3. CMD, PowerShell, Windows Terminal

    in Windows 10 Ask Insider
    CMD, PowerShell, Windows Terminal: I have recently returned to windows after 10 years of OSX/MacOS and Linux. During my time on these OSes I became very comfortable with using the terminal on a daily basis for minor tasks to system configuration and diagnostics. I loved the power these tools have and wish to...
  4. Cmd doesn't recognize 'Powershell' as an command in newer Windows version (same with...

    in Windows 10 Ask Insider
    Cmd doesn't recognize 'Powershell' as an command in newer Windows version (same with...: [ATTACH] submitted by /u/i_hate_patrice [link] [comments] https://www.reddit.com/r/Windows10/comments/e24hcj/cmd_doesnt_recognize_powershell_as_an_command_in/
  5. How to scale up or down CMD/PowerShell or any window using the mouse

    in Windows 10 News
    How to scale up or down CMD/PowerShell or any window using the mouse: [ATTACH] [ATTACH]Have you ever felt the need of scaling the PowerShell or CMD up and down before? Probably not, but some folks have. You see, it is not the type of task a lot of Windows 10 users would ever think [...] This post How to scale up or down CMD/PowerShell or any...
  6. SHIFT + Right click, does not show anymore CMD and/or Powershell

    in Windows 10 Support
    SHIFT + Right click, does not show anymore CMD and/or Powershell: Hello everybody 2 Days I go I decided to upgrade my OS to the latest version build 1903 from build 1803. I noticed that while I press SHIFT key + right click it won't show anymore on contextual menu the voice open CMD here or Powershell here. I am not sure if this is removed...
  7. Take registry key ownership via CMD or Regini or Powershell

    in AntiVirus, Firewalls and System Security
    Take registry key ownership via CMD or Regini or Powershell: Hi ! I have a little problem. In my workplace we use Win 10 IOT LTSB. I have a task that i must clear the safeboot funkction of the Windows system. I googled for solving the problem, and i get answer that i must change registry key names...
  8. TPM - OwnerClearDisabled = True. How to make it false by powershell or cmd

    in AntiVirus, Firewalls and System Security
    TPM - OwnerClearDisabled = True. How to make it false by powershell or cmd: Hi, I have a requirement where I am stuck with a few machines (probably thousands), where Windows 10 has taken the ownership (conclusion after several hours/days of searching and experimenting) of the TPM and it has disabled clearing the TPM via script/powershell. I have...
  9. Can not execute/run FCAT-VR in powershell or CMD

    in Windows 10 Support
    Can not execute/run FCAT-VR in powershell or CMD: First posting and I do hope thet it is in the right section, if not feel free to move this to the proper one. My problem: I'm trying to execute FCAT VR (not FCAT) in Win10-64 pro as can be found at the Nvidia site https://www.geforce.com/whats-new/gu...d-how-to-guide...
  10. Settings using powershell/cmd?

    in Windows 10 Performance & Maintenance
    Settings using powershell/cmd?: Is there a way to manage settings using command line/powershell? Thanks. 124376