1.    17 Jun 2017 #1
    Join Date : Apr 2014
    Denmark
    Posts : 245
    Windows 10 Pro

    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.    17 Jun 2017 #2
    Join Date : Oct 2014
    Trnava
    Posts : 2,869
    Windows 10.4 Home 1709 x64

    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
    Join Date : Mar 2015
    Posts : 135
    Windows 10

    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 ComputerSystem Spec
  4.    17 Jun 2017 #4
    Join Date : Sep 2014
    Nashville, TN
    Posts : 3,143
    Windows 10 Pro

    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.    19 Jun 2017 #5
    Join Date : Jan 2016
    Green Valley, AZ
    Posts : 144
    Windows 10 (2), Win 8.1 (1), Win 7 (1)

    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.    19 Jun 2017 #6
    Join Date : Aug 2016
    S/E England
    Posts : 4,526
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by Mystere 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
    Join Date : Oct 2014
    Posts : 920
    Windows 10 Pro

    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
  8.    19 Jun 2017 #8
    Join Date : Aug 2016
    S/E England
    Posts : 4,526
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by johnpd 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

 


Similar Threads
Thread Forum
Solved I Need Some Powershell Education
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...
Software and Apps
Solved PowerShell
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...
Performance & Maintenance
Solved Different kinds of Powershell?
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...
General Support
Powershell glitch
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......
Software and Apps
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 21:12.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums