Skip to content

Instantly share code, notes, and snippets.

@jordanbtucker
Last active April 16, 2024 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jordanbtucker/872f5c2eaeca5ff10afd to your computer and use it in GitHub Desktop.
Save jordanbtucker/872f5c2eaeca5ff10afd to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\powershell]
@="Open Powe&rShell here"
"Extended"=-
"Icon"="powershell.exe,0"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\powershell\command]
@="powershell.exe -noexit -command \"cd %V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell]
@="Open Powe&rShell here"
"Extended"=-
"Icon"="powershell.exe,0"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\powershell\command]
@="powershell.exe -noexit -command \"cd %V\""
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Open PowerShell here (&Admin)"
"Extended"=""
"Icon"="powershell.exe,1"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="powershell.exe -noexit -command \"cd %V\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas]
@="Open PowerShell here (&Admin)"
"Extended"=""
"Icon"="powershell.exe,1"
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\Background\shell\runas\command]
@="powershell.exe -noexit -command \"cd %V\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment