Closed ibaxo closed 4 months ago
Proposed fix for issue #9242 https://github.com/dataplat/dbatools/issues/9242
$decryptedCredentials items already contain a property .Quotename which is escaped correctly by QUOTENAME function. One possible fix could be to use the value from .Quotename property instead of $credentialName variable
Nice fix! Thank you 🙇🏼
Proposed fix for issue #9242 https://github.com/dataplat/dbatools/issues/9242
$decryptedCredentials items already contain a property .Quotename which is escaped correctly by QUOTENAME function. One possible fix could be to use the value from .Quotename property instead of $credentialName variable