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?
↧