Create a new file in current directory. New-Item .gitignore -type file Create a new directory. New-Item c:\path\to\directory -type directory Open Explorer for the current directory (Invoke-Item). ii .