Created
September 9, 2017 19:36
-
-
Save artisticcheese/9677eca09d90290f9bc3da02ae727c47 to your computer and use it in GitHub Desktop.
Create GMSA account
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-module ActiveDirectory | |
Add-KdsRootKey –EffectiveTime ((get-date).addhours(-10)); | |
New-ADServiceAccount -Name containerhost -DNSHostName servicefabric.ad.local -PrincipalsAllowedToRetrieveManagedPassword "Domain Controllers", | |
"domain admins", "CN=Container Hosts,CN=Builtin, DC=ad, DC=local" -KerberosEncryptionType RC4, AES128, AES256 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment