Hello,
A useful Script, thanks for posting it.
One comments though: I don’t believe the example of using Set to supply multiple DB names would work. You normally have to use a split-string function when using comma separated lists in an In clause.
Regards,
John Marsh