Wildcards and Filters
The wildcards *, ? and [ ] match many names with one pattern, so one Move-Item carries every photo at once, and Get-ChildItem's -Filter, -Include and -Exclude choose which names to list, -Filter the fastest of the three.
Updated
![Cheat sheet for the lesson Wildcards and Filters: The wildcards *, ? and [ ] match many names with one pattern, so one Move-Item carries every photo at once, and Get-ChildItem's -Filter, -Include and -Exclude choose which names to list, -Filter the fastest of the three.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/24c5df64e79147cca3a4724f5e9b1f02.webp)
- Category
- PowerShell
- Level
- Apprentice
- Tags
- get-childitem, operating-system, powershell, whatif-and-confirm, wildcard