Saran
Right there with Babe
Points: 760
More actions
June 18, 2021 at 2:50 pm
#3898025
Hi,
Can anyone share or point me to get -DB logins permissions in a single script. Not using use dbname.
I could see all script is having use db, since i have lot of db.
Site Owners
SSC Guru
Points: 80330
June 19, 2021 at 3:10 pm
#3898402
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Ant-Green
Points: 113507
June 19, 2021 at 6:24 pm
#3898423
Use powershell and dbatools
get-dbauserpermission will do exactly what you need
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply