PowerShell: Opening explorer in the current directory
[Update again]
As a reminder that my readers are usually much more skilled than I am, two anonymous commenter points out the obvious:
ii .
or
ii $pwd
Never thought of that. It's just beautiful. Thanks! The second commenter has been chatting with me through the messenger control, and points out that Start-Process is only available if you have PowerShell Commnity Extensions... A fact I missed completely. I stand twice corrected.
I've not blogged any PowerShell scripts for a while... I very often navigate around in PowerShell, but sometimes you want to switch to a graphical view. That's exactly what this script does (note it only works on the file system though...)
function Open-Explorer { Start-Process $(get-location) }
Enjoy!