Monday, June 8, 2009

How To Open Explorer from PowerShell

To open Explorer to the default directory from within PowerShell, type:

explorer

To open Explorer to a particular directory, use the Invoke-Item cmdlet.

invoke-item

- or -

ii

For example:

ii c:\ps-test
ii \\server01\juneb\sharedFiles

Then again, do you really need to open Explorer when you have PowerShell?

Enjoy!
-- juneb


No comments: