You could also do a test-connection to each of the servers to ensure that those servers are actually available before doing your copy-item
you could then log the failed test connections with the error variable mentioned above instead of logging a failed copy or log that separately also – which could actually be for a different reason.