Using Powershell I need to find check if the "NT Service\MSSQL$nameofServer" has the propery trustfordelegatin set to true at the domain Controller.
If this was a user account I would just do this:
get-ADuser userdummy -Properties trustedfordelegation|select trustedfordelegation
For a user this works perfectly. I need to do the equivalent for the sql service account to see if the property is set to true.