How to add the Open Powershell Here option to the context menu on Windows
Microsoft introduced Powershell on Windows XP and has been "welcomed" by many users. Windows Powershell is the most powerful 'automatic' Windows tool that Microsoft provides, and it's not as boring as the Command Prompt.
To open and use Powershell faster and easier when needed, you can add the 'open Powershell here' option to the context menu - when you right-click. In the following article, Network Administrator will show you how to add the 'open Powershell here' option to the context menu on the Windows operating system.
How to add the Open Powershell Here option to the context menu on Windows Picture 1
Add the Open Powershell Here option to the context menu on Windows
To add the Open Powershell Here option to the context menu on Windows, follow the steps below:
1. To add the "open Powershell here" option to the context menu, you must edit the Windows Registry Editor.
To do this, first press the Windows + R key combination to open the Run command window, then enter "regedit" there and press Enter to open the Windows Registry Editor window.
How to add the Open Powershell Here option to the context menu on Windows Picture 2
2. On the Registry Editor window, in the left pane, navigate to the key:
HKEY_CLASSES_ROOTDirectoryshell
3. Next right-click the "shell" key and select New => Key . Name this new key 'powershell' .
How to add the Open Powershell Here option to the context menu on Windows Picture 3
4. Once done, right-click on the value Default in the right pane and select Modify.
How to add the Open Powershell Here option to the context menu on Windows Picture 4
5. This time on the screen displays the Edit String window. Here you enter "Open PowerShell Here" into the Value Data box and then click OK to close the window. This will display the Open PowerShell Here option when you right-click to open the context menu.
How to add the Open Powershell Here option to the context menu on Windows Picture 5
6. Next right-click on the sub key named Powershell , select New => Key to create a new sub key named " command".
How to add the Open Powershell Here option to the context menu on Windows Picture 6
7. Right-click the value Default in the sub-key Command and select Modify.
How to add the Open Powershell Here option to the context menu on Windows Picture 7
8. Now on the screen continue to display the Edit string window. Here you enter the path below into the Value Data box and then click OK to close the window:
C: Windowssystem32WindowsPowerShellv1.0powershell.exe -NoExit -Command Set-Location -LiteralPath '% L'
How to add the Open Powershell Here option to the context menu on Windows Picture 8
Note:
If your Windows installation drive is not a C drive, then you will have to change the drive in the above path. If you are using the Powershell version higher than version 1.0, then you will also have to change the version number (v1.0).
To "confirm" the version of Powershell you are using, navigate to C: WindowsSystem32WindowsPowerShell .
Finally close the Windows Registry Editor window and complete the process.
From now on whenever you want to open the Powershell window on your favorite folder or on the Desktop, just right-click it and select the "Open Powershell here" option from the context menu.
How to add the Open Powershell Here option to the context menu on Windows Picture 9
Work on to open the Powershell window at the location you requested, and you can do whatever you want with Powershell.
How to add the Open Powershell Here option to the context menu on Windows Picture 10
Refer to some of the following articles:
- Adjust screen resolution on Windows 10/8/7
- 8 "tweak" Windows Group Policy any Admin should know
- Cannot create a new user account on Windows 10, 8.1 and 8, this is how to fix it
Good luck!
You should read it
- How to add 'Open PowerShell window here as administrator' to the right-click menu on Windows 10
- How to add 'Edit or Run with' to the right-click menu of PS1 files
- About PowerShell
- Use PowerShell to download any file on Windows 10
- What is PowerShell Basic commands in PowerShell
- PowerShell command in Windows
- How to use PowerShell's default parameter to change the command behavior
- How to install PowerShell 7.0 in Windows 10/8/7
- How to add / remove 'Open in Windows Terminal' context menu in Windows 10
- The context menu of Windows 11 will have a new eye-catching design
- 10 PowerShell commands help you manage the remote computer most effectively
- This small application helps bring the context menu interface of Windows 10 to Windows 11
May be interested
Instructions on how to fix 'The VMware Authorization Service is not running'
3 software that shows hidden files in USB should not be ignored
Change the default Control Panel view to a Windows computer
Quick fix Cyclic Redundancy Check error
Instructions to reset Windows Firewall Rules to the initial default state
How to assign permissions to delete any folder or file on Windows?