Skip to content

Instantly share code, notes, and snippets.

@mikerodionov
Created April 18, 2019 07:40
Show Gist options
  • Save mikerodionov/25d4d2209e49e68a892cb54dcd363927 to your computer and use it in GitHub Desktop.
Save mikerodionov/25d4d2209e49e68a892cb54dcd363927 to your computer and use it in GitHub Desktop.
Set-ADObject "CN=NTDS Settings,CN=DOMAINCONTROLLER-NAME,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=DOMAIN,DC=COM" -Replace @{options='1'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment