MotoX80,
The transcript doesn't really give any further information, only that the background tasks are being created. The tasks are running as they should and data is being copied to the file server from all the remote sites, but the RoboCopy logs are simply stopping when x% is complete with no error codes or messages logged anywhere. In other words, Powershell is doing what it should, it is creating multiple Robocopy jobs, the script has all the appropriate permissions as the copy operation is working for a period of time, no time outs or disconnect errors in the RoboCopy logs, it simply just stops copying even though the copy hasn't reached 100%.
Tried replacing the RoboCopy with Start-Bitstransfer only to find out you can't use Start-BitsTransfer with a scheduled task as it needs to be run in the foreground and only seems able to do 3 or 4 jobs concurrently.
The files I'm copying are around 700MB in size and some of the sites we are copying from have flaky connections, so Copy-Item and XCopy aren't options either.
Also tried changing the script so the RoboCopy operations are kicked off on each remote server, however, again this doesn't seem to be achievable, due to the double hop authentication required to make it work.
I'm now contemplating trying to do this with DFS Replication, but there are over 80 servers in 80 sites that I need to collect up the local backups from and this will be a major pain in the backside having to created so many DFS Replication groups.
Before I give up on this, any further ideas?