dbaclone icon indicating copy to clipboard operation
dbaclone copied to clipboard

Get-DcnImage: Use the stored credentials when querying the db if none are supplied on the command line.

Open jonstace opened this issue 1 year ago • 0 comments

When working in an environment that doesn't have Windows auth set up, so SQL credentials are required, Get-DcnImage doesn't use the SQL user credentials saved during the call to Set-DcnConfiguration. If you call Get-DcnImage without any other parameters, the current Windows user is used to authenticate, and if there isn't a domain/trusts set up, authentication will fail. This then cascades through to other commands that call Get-DcnImage without parameters.

jonstace avatar Mar 15 '24 14:03 jonstace