Do you pause on an exhausted ring?
Thursday, 29 October 2015
Protecting All OUs in the Domain from Accidental Deletion
You can issue this line of PoSh at a domain controller to prevent any accidental deletion of AD OUs
Get-ADOrganizationalUnit -Filter 'Name -like "*"' | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true
Post a Comment
Post Comments (Atom)