Wildcard

noun

say it: “WYLD-kard” /ˈwaɪldkɑrd/

A character that stands in for other characters in a name, such as * for any letters or none, and ? for exactly one.

What is a wildcard in PowerShell?

A wildcard stands in for characters you don't know or don't want to type. *, read "star", matches any letters or none at all, and ? matches exactly one. Many PowerShell commands take them in names and paths.

Get-Command *Clipboard*   # Get-Clipboard and Set-Clipboard

In a sentence

  • “One wildcard let her list every .txt file in the folder at once.”
  • “With the wildcard in *Clipboard*, Get-Command found both clipboard commands.”

Level: Apprentice · More PowerShell terms at this level

Updated

In other subjects