hello petererik, your script is a wonderful solution.
we have one more challenge with our setup. we have multiple databases we'd like to remain logged into. is there a way to make one script for all databases on the same domain? if so please share here.
thanks :