PowerShell: Open File by Default App

By Xah Lee. Date: .
Invoke-Item (alias ii)

open item with default app. (image, pdf, folder, etc.)

# open the current dir in file explorer
ii .
# open a photo
ii photo.jpg

PowerShell, Working on Files

PowerShell: Profile and Script