Hello, Just moving a question from #powershell-help to here.
I have been given a PowerShell script that takes in a list of Usernames, and hostnames of Primary and secondary machines for that user.
It will run through and copy config files from the primary to secondary machines, usually for bespoke software we have that stores config in the software folder rather than appdata etc...
however the script seems to run serially (one machine then onto the next) as it runs all night into the morning.
Also some machines the script fails at (no error, not even sure if robocopy is throwing fault to be honest, always found robocopy to be solid!) some machines.
thing is if I remove the machine or move to end of list, then it's fine! (this rarely happens, struggling to find cause, although AV picking up a psexec or some recently banned app may be at play, some of these machines belong to devs etc...)