# I would like to use a simple copy by Copy-Item , but criteria is to exclude a big folder while copying named "Virtual Machines":
C:UsersR2D2Documents -destination F:BackupDocs -exclude C:UsersR2D2Documents"Virtual Machines" -recurse -verbose
# I tried Copy-Item with -exclude parameter, but somehow only robocopy could use well exclude (/XD) to copy.
C:UsersR2D2Documents F:BackupDocs /E /XD C:UsersR2D2Documents"Virtual Machines" /LOG+:"C:Temprobolog.txt"
# Do you think I have to use Robocopy for this sort of copy tasks? Or just missed something from my Copy-Item example?
# Thanks in advance