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. For example,
dir *htmllists only files whose name ends in html.
- If you don't want wildcard, use