When using Get-ChildItem (alias dir & ls) to get specific files/folders recursively, use -Filter instead of -Include because it filters at the provider level rather then returning all data & then filtering
-Filter only takes 1 argument but -Include can be an array *.jpg,*.jpeg
5 months ago