Script: Auto-add new SQL DBs for protection
Published Feb 14 2019 08:01 PM 96 Views
First published on TECHNET on Nov 19, 2007

This is a sample script that will automatically add all the newly available SQL DBs in all instances for protection. You can customize this easily to change the protection policy. Save the attached file as a .ps1 file and invoke through the DPM Management Shell. The script can also be added to the Windows scheduler and run on a scheduled basis.


- Kapil, Hitesh, Balaji


AddNewSQL.ps1

Version history
Last update:
‎Mar 11 2019 07:58 AM
Updated by: