Modules.PSOneTools icon indicating copy to clipboard operation
Modules.PSOneTools copied to clipboard

Bug in Find-PSOneDuplicateFile.ps1 - Parameter $Filter is ignored

Open sherland opened this issue 3 years ago • 0 comments

On the line: https://github.com/TobiasPSP/Modules.PSOneTools/blob/635fc55e71a92af51e3b13bd9d11720088e3584c/PSOneTools/2.4/Find-PSOneDuplicateFile.ps1#L50

'*' Should be changed to: $Filter: [IO.DirectoryInfo]::new($Path).GetFiles($Filter, 'AllDirectories')

Without this change, the parameter $Filter is ignored.

sherland avatar Feb 25 '22 07:02 sherland