Powershell Script to copy files RRS feed

  • Question

  • I need to make a powershell script to copy file that are older than 1 day but not older than 5 days from one folder to a destination folder located on the network share for example: c:\data to \server2\backup or \server1\data to \server\2backup Also require a log to be created of what files were created. At the end of the copy the files should be compared to the original and the original delete. A progress bar would be good but not essential. New files may be created as the script, due to data size may run across midnight, these new files are not be copied. Thanks in advance
    • Moved by Stanly Fan Wednesday, May 10, 2017 1:27 AM from windows form general
    Wednesday, May 3, 2017 3:08 PM

All replies