Add Open Powershell here to context menu – Ashwin Sinha

Add Open Powershell here to context menu

To add it to the Windows right click context menu, perform the following steps:

  • Open regedit from the run menu Win + R.

  • Under HKEY_CLASSES_ROOT\Directory\Background\shell create a key called Powershell.

  • Get the Powershell icon location

  • Now add a string value to this key called Icon with a path to the desired icon %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe.

  • Create a new key called Command under Powershell.

  • Change the default value to the path where your powershell.exe is, like %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe.