Skip to content

Instantly share code, notes, and snippets.

@DiHo78
Last active Sep 27, 2020
Embed
What would you like to do?
$Account = "MyNormalSvcAccount"
$mySvcAcc = Get-ADUser -Identity $Account
Set-ADObject -Identity $mySvcAcc -Add @{"msDS-AllowedToDelegateTo"=$DBSPNs2Add } -Verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment