Feature Request: Import Database Distribution List from a database
jgraves
Posts: 20 New member
Tried to find Multi Script in User Voice and it wasn't there. So posting here.
It would be great to import/manage database distribution lists from an actual database. We regularly update deployment locations in metadata. Currently we have to manually edit the database distribution lists which can lead to errors.
Thank you for consideration! Jay
It would be great to import/manage database distribution lists from an actual database. We regularly update deployment locations in metadata. Currently we have to manually edit the database distribution lists which can lead to errors.
Thank you for consideration! Jay
Tagged:
Comments
It will create the distribution list to a drive location that it will fill from a Database Table. The values required from that table are a ServerName and a ConnectionString for the referenced server. It will overwrite any file that is currently present on the drive location with the same file name.
You should be able to decipher what we have done from the script below written for PowerShell:
(I obfuscated some of our parameters and static server names here so there may be a syntax error after you have replaced all of your values and attempt to execute. But I feel confident you can correct them!!!
I did genericize this script somewhat from the less abstract version we run but only slightly.
Also, note the comment on the creation of the <cserver> XML Node)
=======================================================