Austin's blog
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
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment