Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 665 Bytes

File metadata and controls

16 lines (10 loc) · 665 Bytes

Copy-Item: Exclude is ignored with Recurse

Fixed in v5.1

When Copy-Item is used with Exclude and Recurse then Exclude is ignored and items supposed to be skipped are copied, too.

The script Test-Copy-Item-Exclude.ps1 shows the problem. It is supposed to copy test.txt and skip test.log. But both files are copied, as a result.