$source = "C:\Sources\AlplaPROD\MasterLayouts"
$servers = @("USMCD1VMS036", "USSTP1VMS006", "USLIM1VMS006")
$log = "C:\Sources\AlplaPROD\MasterLayouts\sync.log"

foreach ($server in $servers) {
    Add-Content $log "======================================"
    Add-Content $log "Syncing to $server at $(Get-Date)"

    robocopy $source "\\$server\C$\Sources\AlplaPROD\MasterLayouts" /E /Z /R:2 /W:5 /FFT /XO /TEE /LOG+:$log

    Add-Content $log "Finished $server with exit code $LASTEXITCODE"
}