Of late, Windows 10 users who have been facing some problems, may have read a lot of time, run this or that command in PowerShell to fix this or that problem. While most of us are familiar with the Command Prompt and know how to run Command Prompt as an Administrator, not many seem to be knowing how to open an elevated PowerShell prompt. This, I gathered from the several comments I have been reading here and at our forum. So today, I will show you how to open an elevated PowerShell prompt, and run it as an Administrator, in Windows 10.
Windows 10 ships with PowerShell v 5. It is a command-line shell and scripting language, built on the .NET Framework, designed for system administration, IT professionals and developers.
How to open an elevated PowerShell prompt
To open an elevated PowerShell prompt, in the taskbar search, type powershell.
Now see the result Windows PowerShell which appears on the top. Right-click on it and select Run as Administrator.
The UAC prompt will ask you for your consent. Click yes, and the prompt will open.
An elevated PowerShell prompt will display Administrator: Windows PowerShell on the top in the prompt’s border.
NOTE: You can also open Task Manager > File menu > Run new task. Type powershell and select the Create this task with administrative privileges check box and click OK to open an elevated PowerShell prompt
Bonus tip: Know how to find out Which version of PowerShell you are are running?