You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like the above code to connect to sql01 using the domain\user1 account. However, it runs invoke-dbccheck as the user who is running Powershell. I can verify that the credentials running Powershell are being used to connect to sql01, as there are login failures on sql01 relating to said user, and the credentials running Powershell do not have any permissions to connect to sql01.
The text was updated successfully, but these errors were encountered:
Bug Report
General Troubleshooting steps
Does
(Find-Module dbachecks).Version match (Get-Module dbachecks).Version.ToString()
Yep
powershell -NoProfile
)?Version Information
Steps to Reproduce
$cred = Get-Credential -UserName 'domain\user1'
invoke-dbccheck -sqlinstance "sql01" -check lastgoodcheckdb -Credential $cred
Description of Bug
I would like the above code to connect to sql01 using the domain\user1 account. However, it runs invoke-dbccheck as the user who is running Powershell. I can verify that the credentials running Powershell are being used to connect to sql01, as there are login failures on sql01 relating to said user, and the credentials running Powershell do not have any permissions to connect to sql01.
The text was updated successfully, but these errors were encountered: