Austin's blog
Do you pause on an exhausted ring?
Showing posts with label
deletion
.
Show all posts
Showing posts with label
deletion
.
Show all posts
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
Older Posts
Home
Subscribe to:
Posts (Atom)