Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

get the SQL database users Powershell

$
0
0

Hi!

I'm trying to figure out how to get the users of a SQL database using powershell.

I have allready figured out how to backup and restore sql databases with powershell but now i want to find what users are in the database, so that i can create 'logins' for the users that dont have logins:-)

Any ideas?

br

BJorn


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>