Windows 10: cmd vs powershell

  1.    17 Jun 2017 #1

    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 ?

    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???
      My ComputerSystem Spec


  2. Posts : 3,143
    10.5 Home 1803 x64
       17 Jun 2017 #2

    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.
      My ComputerSystem Spec

  3.    17 Jun 2017 #3

    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.
      My ComputersSystem Spec

  4.    17 Jun 2017 #4

    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.
      My ComputerSystem Spec


  5. Posts : 160
    Windows 10 (2), Win 8.1 (1), Win 7 (1)
       19 Jun 2017 #5

    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
      My ComputerSystem Spec


  6. Posts : 6,399
    10 Home x64 (1709) (10 Pro on 2nd pc)
       19 Jun 2017 #6

    Mystere said: View Post
    As an aside, you can enter most cmd commands in powershell and they'll work just fine....
    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...
      My ComputersSystem Spec

  7.    19 Jun 2017 #7

    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.
      My ComputerSystem Spec


  • Posts : 6,399
    10 Home x64 (1709) (10 Pro on 2nd pc)
       19 Jun 2017 #8

    johnpd said: View Post
    The biggest problem I have found with Powershell is finding appropriate documentation for it...
    Microsoft Docs: PowerShell Documentation

    MSDN: PowerShell Reference

    MSDN: Getting Started with Windows PowerShell
      My ComputersSystem Spec


  •  

    Related Threads
    Solved I Need Some Powershell Education in Software and Apps
    Since the days of an Autoexec.Bat and the Config.Sys, I've kept a directory/folder named Utilities for Batch Files and small programs that do not require installation. It's always been on "the path" for obvious reasons. With the coming of CU and...
    Solved PowerShell in Performance & Maintenance
    I have a 64-bit laptop running Win 10 Home. I just notice in All apps, there is an entry of PowerShell and PowerShell (x86). I realize the former is for 64-bit and the latter is for 32-bit. Question : In my 64-bit laptop, when I open...
    Solved Different kinds of Powershell? in General Support
    I've recently used Powershell, but there appear to be several different versions of this utility. Some of them work--some of them merely report not being able to find something or call up something else. For instance, when I call up Powershell from...
    Powershell glitch in Software and Apps
    Hi fellow W10 users, This week I switched to using Windows 10, but I have this strange problem/glitch in PowerShell. At first I did an upgrade from Windows 8.1 to Windows 10, after which I did a full clean install. Now here it comes......
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 11:37.
    Find Us