Creating users with Powershell

We all had our fair share of database we were locked out of, because a user added himself and no other users to a database. In that case, we have 3 options to gain access to the database. One of the possibilities I’ll describe is using Powershell, however, if you have multiple version installed, you might run into problems with the cmdlet client version. How to work around this, I’ll describe here as well. Option 1: Asking a user which has permission to add your user This is probabl... Read the full text.
Comment List