1 Pluspunkt 0 Minuspunkte
Wie kann ich eine Organisationseinheit mit Powershell vor versehentlichem löschen schützen?

von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Mit dem Cmdlet Set-ADObject und dem Parameter -ProtectFromAccidentalDeletion.

Get-ADOrganizationalUnit -identity "OU=Test,DC=dom,DC=local" | Set-ADObject -ProtectedFromAccidentalDeletion:$true

von (716 Punkte)