Here’s a quick tutorial on how to add PowerShell to the Windows Explorer context menu in Windows 10.
Source: Add PowerShell to Windows Explorer Context Menu in Windows 10 – Petri
1. Open the Registry Editor. You can do this by clicking on Start and typing regedit.
2. Navigate to the following path:
HKEY_CLASSES_ROOT\Directory\Shell
Create a new key by clicking Edit > New > Key.
Call the new key “PowerShell.”
3. Modify the default string in the “PowerShell” key by right-clicking it and selecting “Modify…”
Call the new value “Open PowerShell Here.” Click “OK.”
4. In the PowerShell key, create a new key by clicking Edit > New > Key.
5. Call the new key “command.”
6. Modify the default string in the command key by using the following text:
C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -NoExit -Command Set-Location -LiteralPath ‘%L’
Click “OK.”
7. Add a new string by clicking Edit > New > String value.
Let’s call it “Icon.”
8. Modify the value by using the following text:
“C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe”,0
Click “OK.”
9. After completing these steps, close the registry, and open Windows Explorer. Go to any folder of your choice and right-click the folder