-
Notifications
You must be signed in to change notification settings - Fork 10
Commands
Simon edited this page May 26, 2022
·
4 revisions
Invoke-RoboCopy is the core function used by RobocopyPS and will contain all parameters that can be used with Robocopy.exe. Most, if not all, other functions will call Invoke-RoboCopy.
Invoke-RoboCopy -Source C:\tmp\from\ -Destination C:\tmp\to\ -IncludeEmptySubDirectories -LogFile C:\tmp\log.logInvoke-RoboCopy -Source C:\tmp\from\ -Destination C:\tmp\to\ -MoveFilesAndDirectoriesCopy one or more directories to a destination directory with the help of Invoke-RoboCopy.
Copy-RoboItem -Source "D:\tmp\from" -Destination "D:\tmp\to"