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. Cannot open Applications from Program Files with CMD and Powershell

    in Windows 10 Software and Apps
    Cannot open Applications from Program Files with CMD and Powershell: Hello everyone, I'm trying to open executables/applications from C:\Program Files with CMD and Powershell but they doesn't open. It just doing something like the cd command to the directory where my application is. I'm trying to open Filmora with this directory:...
  3. powershell v admin cmd prompt

    in Windows 10 Software and Apps
    powershell v admin cmd prompt: so differences are very technical and i dont understand any of this: What is the difference between CMD and Powershell? - Quora but basically just wanted to know 1. what does fully admin elevated cmd prompt Commonly do that powershell doesnt ? 2. does powershell do all...
  4. Help me fix Microsoft store... can't reinstall it via CMD or Powershell "Firewall service...

    in Windows 10 Ask Insider
    Help me fix Microsoft store... can't reinstall it via CMD or Powershell "Firewall service...: [ATTACH] submitted by /u/DarthShinda [link] [comments] https://www.reddit.com/r/Windows10/comments/jvcazt/help_me_fix_microsoft_store_cant_reinstall_it_via/
  5. is there a way to delete every x number of files via CMD or powershell

    in Windows 10 Support
    is there a way to delete every x number of files via CMD or powershell: in a folder I have 300 files (in my case its over 25k). I wish to delete every 20, or every 30 files, or every set pattern of files, how can this be done? things i've tried, using a few selection tool to select every set number of files so I can delete but none has worked...
  6. Can you remove VPN credentials via CMD or PowerShell

    in Windows 10 Ask Insider
    Can you remove VPN credentials via CMD or PowerShell: We have clients that use the Built in Windows VPN client. They save their credentials then their password changes and they cannot figure out how to remove the credentials so that they can use the new password. Is there a way to clear the saved credentials for Windows VPN...
  7. How to delete user account with its folder via CMD or Powershell

    in Windows 10 Network and Sharing
    How to delete user account with its folder via CMD or Powershell: I have windows 10 machines with several users on it. I want to delete these user via CMD or Powershell with all their folders desktop, download, ........etc The below command : net user Test /delete only delete the user which is not enough....
  8. [Help] Add hibernate to start menu from CMD or powershell

    in Windows 10 Ask Insider
    [Help] Add hibernate to start menu from CMD or powershell: Is there a command I can use from either cmd or powershell that will add the hibernate option to the windows start menu power options? I know how to add the hibernate option by navigating windows and menus, but I want to automate this process with a script. How can I do...
  9. Open Cmd via PowerShell, command?

    in Windows 10 BSOD Crashes and Debugging
    Open Cmd via PowerShell, command?: Please i need to open cmd win + r and so i know i need to know how to open it via powershell pls (.bat and so i know it needs to be opened via powershell. Pls PowerShell command to open cmd? Cmd über PowerShell öffnen, Befehl?
  10. Problems with Screen Redraws in Powershell/CMD/Explorer in 19042.421

    in Windows 10 Installation and Upgrade
    Problems with Screen Redraws in Powershell/CMD/Explorer in 19042.421: My laptop Thinkpad X13, Ryzen 4750U updated to 19042.421 earlier this evening, and suddenly PowerShell, the Command Prompt, and a lot of Explorer applications aren't really updating unless there's a screen redraw. If I open PowerShell and type a command, it won't appear...