Create a new login on a SQL Server for a an existing domain account with Powershell RRS feed

  • General discussion

  • I'm trying to create a sql server login for a domain user account that already exists using powershell. All the examples I've seen appear to require the password of the account be passed which I assume is using SQL server authentication. How do I specify it to use Windows Authentication so it can just use the domain creds WITHOUT knowing the domain user's password?

    Wednesday, December 11, 2013 9:30 PM