PowerShell

The many ways to start PowerShell

Most of us are used to press CTRL + R and then we type PowerShell or cmd. That’s because humans are creatures of habit. In this blog post I am going to show you much more ways to start PowerShell.

I’m using Windows 10 Version 1803. Some of the options shown here may work differently or may not work on other versions.

Keyboard Shortcuts

Press Windows Key + X, then release the keys and press A. This opens PowerShell with administrative privileges. My favourite.

Press Windows Key + X, then release the keys and press I. This opens PowerShell in user mode.

Unbenannt.PNG

The Search

Click on the Search button and enter PowerShell to search for all PowerShell related commands, documents and other stuff that can be found on your system. Right-click on Powershell and open it with administrative privileges.

Unbenannt1.PNG

The Start Menu

Click on Start. On the left pane scroll down to Windows PowerShell.

Unbenannt2.PNG

File System

PowerShell is located at C:\Windows\System32\WindowsPowerShell\v1.0. You can open it directly from this location.

Unbenannt3

Start it from cmd

You can switch to PowerShell while working in cmd.

Unbenannt4.PNG

And back again …

Unbenannt.PNG

Pin it to the Taskbar

No matter which option you prefer, I would recommend to pin PowerShell and PowerShell ISE to your taskbar. To do so, just use the search again and right click on PowerShell. Then select Pin to taskbar.

Unbenannt5.PNG

That’s it. If you know other ways, do not hesitate to do some comments.

13 replies »

  1. Or you hot the Windows-Key, then you type in “power”. Now you only have to press CTRL + SHIFT + Enter. And you have your PowerShell with elevated rights. PS: This works whit some “more” Apps. Kind Regards Wolfgang

    Like

  2. So I’ve to add my way: Windows key – ise – enter 😉

    An other thing: you can pin it to taskbar and automatically open it as admin: Shortcut properties – Advanced – Run as admin.

    Liked by 1 person

  3. Hi, just one note: in section “Start it from cmd” the screenshot “back again” is not exactly correct. With this screenshot, you start PowerShell within cmd and then start cmd within PowerShell like this: (cmd(powershell(cmd))). Just test it with the “exit” commando 😉

    Like

  4. Patrick,

    As always, a great article. Let me take your

    “Keyboard Shortcuts
    Press Windows Key + X, then release the keys and press A. This opens PowerShell with administrative privileges. My favourite”

    One step further…

    Once you launch Powershell with admin privileges using the above, type ISE at the prompt, and ISE will launch with admin privileges as well.

    🙂

    Adam

    Like

  5. Also, the easiest one, the one I use more often!
    Open the folder in which you want to run PowerShell and in File Explorer do File and choose between “Open Command Prompt” and “Open Windows PowerShell”.
    You can even run it as Administrator.
    So you never have to enter the path again pressing “Tab” 10 times in order to autocomplete the path: you open PowerShell THERE where you want, with or without Admin privileges!

    🙂

    Liked by 1 person

Leave a reply to Wolfgang Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.