I've searched high and low for this script and can't locate any that helps me to get a report on empty OUs in my environment.
I tried to construct a command but no cigar. the below is what I was thinking but clearly that doesn't work.
get-ADOrganizationalUnit -filter * | where {$._Name -eq $null}
Please help if you can!
Thanks in advance.