Difference between -include and -filter in get-childitem

后端 未结 2 373
忘掉有多难
忘掉有多难 2020-12-17 09:06

Can someone please explain the difference between -Include and -Filter options in the Get-ChildItem command .

Below are the two

2条回答
  •  感动是毒
    2020-12-17 09:14

    -filter should be faster than -include. -filter can match the short version of filenames in powershell 5.1.

提交回复
热议问题