I'm trying to create a simple script that will robocopy several folders using the command below. When one folder is done copying, it moves on to the next. Does anyone have a batch/powershell for loop example for this? I've searched around but couldn't find anything.
robocopy “\\SOURCESERVER\FOLDER\” “\\DESTSERVER\FOLDEr” /S /E /COPY:DATS