Can someone please explain the difference between -Include and -Filter options in the Get-ChildItem command .
-Include
-Filter
Get-ChildItem
Below are the two
-filter should be faster than -include. -filter can match the short version of filenames in powershell 5.1.
-filter
-include