Skip to Main Content
Patch My PC Ideas & Feedback

A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize requests, please see:

3 VOTE
Status SUBMITTED
Created by Sune Iversen
Created on May 6, 2026

Adding -Exclude to Copy-ADTFile

Add support for -exclude of files with Copy-ADTFile.
Currently in powershell with Copy-item I have the option to use -exclude to enable me to copy a folder recursively, but without one of more specified files.
Example:
Copy-item -path 'C:\folder1' -destination 'C:\folder2' -recurse -exclude "NotNeededFile.txt"

  • Attach files
  • +2