Quantcast
Viewing all articles
Browse latest Browse all 21975

regenerate SQL logins

I'm trying to use PS to enumerate all databases on a sql 2008R2 server and, for each database, generate the corresponding logins and permissions on new domain after migration my server via ADMT. I got old logins on my bases, how PS can help me?

And how can i do this on sql 2005?

Riffy, I found your  script,

http://social.technet.microsoft.com/Forums/windowsserver/en-US/2cddfcba-727f-45c3-b099-a32b7bce2b0f/enumerate-sql-databases-and-users-of-each

maybe you can help me in this task?

__________________________________

Regards, SM.


Viewing all articles
Browse latest Browse all 21975

Trending Articles