Scott Hanselman

Introducing PowerShell Prompt Here

May 05, 2006 Comment on this post [3] Posted in PowerShell
Sponsored By

PowershellhereIt was only a matter of time, right?

Due to my recent infatuation passionate love affair with PowerShell (whose download has been up and down on MSDN today...not sure why) I realized that I was missing something - the same behavior that I'd gotten hooked on with Visual Studio's Command Prompt/Batch File and "Visual Studio 2003/5 Command Prompt Here.

I really think it's intuitive to right-click on a folder and say "Command Prompt Here" so here's "PowerShell Prompt Here."

Download the INF, right click and select "Install." It appears in Add/Remove programs but for some reason doesn't completely uninstall. If you want to uninstall completely, search the registry for "PowerShellHere" (oneword) and delete the two trees you find.

Enjoy. Note, if you've installed your PowerShell to another folder other than the default, you'll need to edit the file manually with your path.

Disclaimer, Your Mileage May Vary (YMMV), Good Luck, Don't Player Hate, Integrate. If you've got improvements to the INF, post them in the comments and I'll update the file.

File Attachment: powershellhere.inf (1 KB)

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook bluesky subscribe
About   Newsletter
Hosting By
Hosted on Linux using .NET in an Azure App Service
May 06, 2006 2:26
Back in the Monad beta, I was actually disappointed to see they wouldn't have this built in.
May 06, 2006 17:31
I am not sure how INF files work at all.
But when i looked at it, in "PowerShellHere.Reg" section,
executable path to PowerShell.exe was hardcoded (C:\program files\windows powershell\v1.0\powershell.exe).

But shouldn't there be a note on the blog that says, one has to modify the INF file and change the PowerShell.exe directory for those who have installed PowerShell on a different directory?

Ah, sorry to mention this late in the comment that I love the shell integration :)
May 11, 2006 3:31
It was down as they discovered a couple of problems with the previous version of powershell and reposted a new version. You should have got an email about it if you registered with a valid email address when you downloaded it.

Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.