Could someone can please help me with creating a PowerShell script that will do the following:
1) Check "\\server1\networkshare" directory (and it's sub-folders) for any files that haven't been modified for 360 days. AND that are not part of an exculde.txt file (as certain folders and files are required NOT to be archived)
2) If it finds a file(s), then "Move" to "\\server2\archive\networkshare" and create a shortcut in the original location(s).
Please Note: not sure if this is relevant. But some of the files that need to archived include "%" and the "&" symbol in their names. Not really sure how this will be accounted for in the script.
I'm using PowerShell 2.0 CTP 3 and both servers are running win2k3 R2
Thanks in advance