Menu & Search
Open Current Folder in PowerShell

Open Current Folder in PowerShell

This post is a quick guide on how you can open your current folder in PowerShell.

Invoke-Item “performs the default action on the specified item”. In this case, it’s being used to open my current working directory (.) and opens Windows Explorer for the dir.

Invoke-Item .

Invoke-Item can also be called with just ‘ii’, and you can specify a file and file-path. I’m running a small .ps1 script with the following:

## ps script to open the current folder
write-output 'Opening current folder...' 
ii .

That’s about it for this one.