Does this mean that -Include supports multiple values, but -Filter allows only one value?
Yes.
If the above explanation is correct, is there a way I could discover from Get-Help gci ?
Yes, but you do not get much information from Get-Help gci -Parameter Filter . But you can still see that it is a string, not an array. In terms of parts, Filter is a vendor- Filter filter. Get-Help gci cannot say anything about the implementation in a particular provider. Theoretically, the Get-Help FileSystem (help about this provider) should have explained this.
PS Also note that this filter uses CMD template rules rather than wilcard PowerShell rules.
source share