"DPMTapeUtil.Ps1" script performs a variety of tape related functions such as; report recovery points, start inventory, mark free, erase, eject, re-catalog, rescan library, run a one-off backup and more… These functions can be used individually or in combinations, interactively on Microsoft DPM server or scheduled on multiple DPM servers. Tape selection and scheduling are controlled through simple command definitions. For instance to erase tapes that're "Recyclable" every Sunday at 04:00 AM: -tapeerase –schedule "Enable|Weekly|Sun|04:00".
This solution combines several existing tape related scripts with enriched functionality. You would typically not use this script for ad-hoc activities which are just as easily if not easier done through the UI.
Download DPMTapeUtil & User Guide