How to Open Windows PowerShell as an Admin in Windows 10

Last Updated: Feb 13, 2024 by

Windows PowerShell is a powerful tool for managing and automating tasks in Windows 10. However, some tasks may require administrative privileges to be executed. In this article, we will discuss how to open Windows PowerShell as an admin in Windows 10, as well as some useful functions and tips for using PowerShell.

Opening Windows PowerShell as an Admin

There are a few different ways to open Windows PowerShell as an admin in Windows 10. The easiest way is to right-click on the Windows Start button and select “Windows PowerShell (Admin)” from the menu. This will open PowerShell with administrative privileges.

Another way to open PowerShell as an admin is to use the search function in the taskbar. Simply type “PowerShell” into the search bar, right-click on “Windows PowerShell” in the results, and select “Run as administrator.”

Installing Python3 on Windows PowerShell

If you are a developer or someone who works with code, you may need to install Python3 on your Windows PowerShell. To do this, you will need to use the “Install-Module” function in PowerShell. First, open PowerShell as an admin using one of the methods mentioned above. Then, type the following command into the PowerShell window:

Install-Module -Name PowerShellGet -Force

This will install the PowerShellGet module, which is required for installing other modules. Next, you can use the following command to install Python3:

Install-Module -Name Python3 -Force

Once the installation is complete, you can use the “python” command in PowerShell to run Python scripts.

Useful PowerShell Functions

PowerShell has a wide range of functions that can help you manage and automate tasks in Windows 10. Here are a few useful functions to get you started:

  • Get-Process: This function allows you to view and manage running processes on your computer.
  • Get-Service: Use this function to view and manage services on your computer.
  • Get-ChildItem: This function is similar to the “dir” command in Command Prompt and allows you to view files and folders in a specified directory.
  • Set-ExecutionPolicy: This function allows you to change the execution policy for PowerShell scripts. This can be useful if you are having trouble running a script due to security settings.

Tips for Using PowerShell

  • Use the “Tab” key to autocomplete commands and paths in PowerShell.
  • Use the “Up” and “Down” arrow keys to cycle through previously used commands.
  • Use the “Get-Help” function to get more information about a specific command or function.
  • Use the “Out-GridView” function to view command output in a graphical interface.


Opening Windows PowerShell as an admin in Windows 10 is a simple process that can be done in a few different ways. Additionally, PowerShell has a wide range of functions that can help you manage and automate tasks on your computer. By using these tips and functions, you can become more efficient and effective in using PowerShell for your tasks. Have you found any other useful PowerShell functions? Let us know in the comments.

Gulrukh Ch

About the Author: Gulrukh Ch

Gulrukh Chaudhary, an accomplished digital marketer and technology writer with a passion for exploring the frontiers of innovation. Armed with a Master's degree in Information Technology, Gulrukh seamlessly blends her technical prowess with her creative flair, resulting in captivating insights into the world of emerging technologies. Discover more about her on her LinkedIn profile.