In reply to Kate.

I would think so. Perhaps you should try "slowing" down the script with a Start-Sleep call to allow sufficient time for file operations to complete.