1 of 1 people found this helpful
I think this type of administrative tasks can be done using PowerShell.
PowerShell can be used to execute commands using piartool or pidiag or using the PowerShell Tools for the PI System.
I recommend you taking a look at the MoveOldArchives.ps1 file available on the \PIPC\OSIsoft.PowerShell\ExampleScripts folder and refer to this file in order to develop a script suitable for your needs.
Note that PowerShell Tools for the PI System is installed with the recent version of PI SMT.
Please let me know if this helps you!
I think this is pretty late to answer, but this might be helpful for others as well who are need this.
I tried automating this with couple of batch files please find the below.
Requirement: replace the older archive to different location/machine and re-register them.
one Batch named date will get the date based on how older archive to be moved. and call another batch file that will un-register and register after moving them to the required location.
Hope this helps, we can modify them as per the need, I looked in the forum but I didn't find any solution. Looking for better solution.