Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: LOG for Copy-item

$
0
0

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.


Viewing all articles
Browse latest Browse all 13067

Trending Articles