Hello All,
I have the following oneliner script:
$domaindn="dc=abc,dc=com"
Get-ADOrganizationalUnit -server abc.com -SearchBase "$domaindn" -Searchscope 1 -filter * -properties ProtectedFromAccidentalDeletion | set-adobject -ProtectedFromAccidentalDeletion:$true
I am getting the following error:
"This access control list is not in canonical form and therefore cannot be modified"
Please help.
Regards,