Skip to content

Latest commit

 

History

History

Exclude-and-Recurse

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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.