I have a home lab and testing some scripts. How can I delete all users from all OU's and ou's within ou's? I can delete all users in an ou with this. But within that OU I have about 10 different ou's and I have about 20 ou, with 10 different ou's within each.
Get-ADUser -Filter * | Remove-ADUser