Thursday, January 29, 2015

Bring Your Own Device - Run As Domain User

Issue
When I am on client sites I often have a domain account to use, but bring my own device.  When working on SQL servers I have to remote into the server to do any type of SQL queries or database administration.




Solution
I finally came up with a solution for this.  I added this to a power shell script on my desktop and now I can connect to SQL server on the domain.  When I run the powershell script I just add my domain password and I can connect to the server