Wednesday, November 15, 2006
"PowerShell Prompt Here" for PowerShell v1.0
Microsoft just released Windows PowerShell v1.0, which is a new object-oriented, .NET-aware, dynamically scriptable command-line shell for Windows. It's pretty cool, but I wanted the ability to launch a PowerShell window for a selected folder in Explorer the same way I can launch cmd.exe with the old "DOS Here" PowerToy from Microsoft.
Way back in the "Monad" beta days I wrote such a PowerToy and posted it to the private Microsoft newsgroups for the early adopters. Then once Microsoft changed from the Monad codename to the official PowerShell name, Scott Hanselman posted his own independently written "PowerShell Prompt Here" PowerToy. But his version was hardcoded to look for PowerShell under "C:\Program Files", and now for the 1.0 release, Microsoft moved PowerShell under the Windows\System32\PowerShell\v1.0 folder. So I've updated my old PowerToy to look at the correct location, and you can download it below.
PowerShellHere.inf.
Once you download the file, just right-click it and select "Install". Then when you right-click a folder in Explorer, you should have a "PowerShell Prompt Here" item on the folder's context menu.
Way back in the "Monad" beta days I wrote such a PowerToy and posted it to the private Microsoft newsgroups for the early adopters. Then once Microsoft changed from the Monad codename to the official PowerShell name, Scott Hanselman posted his own independently written "PowerShell Prompt Here" PowerToy. But his version was hardcoded to look for PowerShell under "C:\Program Files", and now for the 1.0 release, Microsoft moved PowerShell under the Windows\System32\PowerShell\v1.0 folder. So I've updated my old PowerToy to look at the correct location, and you can download it below.
PowerShellHere.inf.
Once you download the file, just right-click it and select "Install". Then when you right-click a folder in Explorer, you should have a "PowerShell Prompt Here" item on the folder's context menu.
Labels: Software

