Has anybody ever tried to do automated PI archive maintenance? I have a .net program that compares the archive in the archive directory to a backup directory to see if a backup is required. If the backups dont match, a powershell script will get called to unregister the archive, copy the file over (along with .ann file) and then re-register the archive. I was able to get this to work in the development environment but I'm having issue in production. Has anybody tried something similar or can think of a different approach.