Script: Auto-add new SQL DBs for protection - System Center: Data Protection Manager Engineering Team Blog - Site Home - TechNet Blogs

Script: Auto-add new SQL DBs for protection

Script: Auto-add new SQL DBs for protection

  • Comments 1

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

Attachment: AddNewSQL.ps1
Leave a Comment
  • Please add 8 and 4 and type the answer here:
  • Post