David,
Thanks for the swift reply. To wrap things up and give other people the change to benefit from this.
1) Create a new entry - Command Line
2) Fill out "Host and Credentials"
3) Use in "Run" the following command line:
RunAs /NetOnly /user:$DOMAIN$\$USERNAME$ "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe -S $HOST$"
Outcome:
A DOS box pops up asking you for your password. Hereafter SSMS will connect to the correct server with the correct credentials.
Leaves me with 2 questions:
1) Could we parse the $PASSWORD$ variable into this box?
2) How to make this a sub connection for the corresponding SQL server?
Thanks for the swift reply. To wrap things up and give other people the change to benefit from this.
1) Create a new entry - Command Line
2) Fill out "Host and Credentials"
3) Use in "Run" the following command line:
RunAs /NetOnly /user:$DOMAIN$\$USERNAME$ "C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe -S $HOST$"
Outcome:
A DOS box pops up asking you for your password. Hereafter SSMS will connect to the correct server with the correct credentials.
Leaves me with 2 questions:
1) Could we parse the $PASSWORD$ variable into this box?
2) How to make this a sub connection for the corresponding SQL server?