modules/AdminToolbox.FileManagement/Public/Invoke-Robocopy.ps1 #141
Closed
TerryED0618
started this conversation in
Ideas
Replies: 2 comments
-
Thanks, I'll have a look at it when time permits. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Moved to issue #142 for further discussion and/or work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In your Crescendo module "modules/AdminToolbox.FileManagement/Public/Invoke-Robocopy.ps1" you have the -ExcludeFileName and -ExcludeDirName parameters defined as a Switch. As per https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy#file-selection-options they should be a space delimited list:
I have found the /XD more than handy, as when mirroring my profile's OneDrive folder and excluding problematic folders:
/XD "
\OneDrive\Apps" "\OneDrive\Outlook Files" "~\OneDrive\Recordings"Beta Was this translation helpful? Give feedback.
All reactions