I use git-tfs and poshgit on windows. So when I need to do a check-in I need to open PowerShell, navigate to the location of the project and so on and so forth. That can get tedious at times, similarly to how users would add open command window here.
To add PowerShell Here to the context menu like so:
- First open RegEdit
- Navigate to the HKEY_CLASSES_ROOT\Directory
- Under Directory right click on shell
- Select New –> Key with the name Powershell
- Under the newly created key there is a Default key, right click on it and click modify
- Add a Value to it of Powershell Here
- Click OK to close
- In an empty space before the default key right click and select New –> Key and name is Command
- In the newly formed command key, right click on the Default key and click modify
- In value data add:
- C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -NoExit -Command Set-Location -LiteralPath ‘%L’
- Click OK to close
- You should now have the ability to open a PowerShell window with just the Context Menu