PowerShell: LiteralPath

By Xah Lee. Date: . Last updated: .

LiteralPath

The -LiteralPath parameter lets you input a path without Path Expansion .

(double quoted string still go thru String Expansion)

# list children of a dir name containing asterisk
dir -LiteralPath 'p*'

PowerShell Path

PowerShell, Working with Directory