vBulletin statistics
Tips & Tricks #3 - PowerShell window from here - Windows Server (2008 R2) blog by Kurt Roggen [BE]
Wednesday, July 14, 2010 2:35 PM Kurt Roggen

Tips & Tricks #3 - PowerShell window from here

I've been using PowerShell for a while now but it still hasn't replaced the command prompt for me yet, even though it is extremely powerful!!  I have been using the Command Prompt From Here a lot to make it easier to open up a command prompt at a specific folder location from the Explorer.  So now I added some settings to the registry that will do the same but with PowerShell instead.

image

Here is the registry file for making the entry in Explorer:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\PowerShell]
@="Open PowerShell window here"

[HKEY_CLASSES_ROOT\Directory\shell\PowerShell\Command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe\" -NoExit -Command [Environment]::CurrentDirectory=(Set-Location -LiteralPath:'%L' -PassThru).ProviderPath\""

Related reading:

Filed under:

# Twitter Trackbacks for Tips & Tricks #3 - PowerShell window from here - Windows Server 2008 (R2) blog by Kurt Roggen [BE] [trycatch.be] on Topsy.com

Pingback from  Twitter Trackbacks for                 Tips & Tricks #3 - PowerShell window from here - Windows Server 2008 (R2) blog by Kurt Roggen [BE]         [trycatch.be]        on Topsy.com

# Get Six Pack Abs | How To Get An Six Pack Within 4 Weeks

Pingback from  Get Six Pack Abs |   How To Get An Six Pack Within 4 Weeks

# Bookmarks for December 9th through December 27th | The Wahoffs.com

Pingback from  Bookmarks for December 9th through December 27th | The Wahoffs.com