PowerShell: String Wildcards
Wildcard can be used to represent string patterns.
dir "*jpg" means list any filename ending in jpg.
- Match any character.
- Match any character, zero or more times.
- Match a range of characters a to z.
- Match any char in chars
- Most command's
Pathparameter value is interpreted as wildcard pattern. e.g.
dir *.jpglists only files whose name ends in
- If you don't want wildcard, use the