Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

File copy from multiple server to a common repository share

$
0
0

Hi ,

    I am looking for a power shell script that will copy content from multiple server and paste to a common share in a remote server .

Requirements :

  • Script should read from a file that contains server names
  • Create a directory (SERVER NAME ), if one does not exist in the same target below
  • Move all the folders/files to the target
  • Report any errors (files that could not be moved due to permission or “in use”) .

Thanks

Bibin


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>