Created
February 5, 2018 13:04
-
-
Save Celoxocis/2da49a70ce87e10c408d8aa456bff92d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Deaktivieren | |
Set-ADObject -Identity (Get-ADDomainController -Identity $env:ComputerName).NTDSSettingsObjectDN -Replace @{options='0'} | |
Aktivieren | |
Set-ADObject -Identity (Get-ADDomainController -Identity $env:ComputerName).NTDSSettingsObjectDN -Replace @{options='1'} | |
wobei "$env:ComputerName" = aktueller DC. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment