I am using powershell to search active directory but I can seem to read the child OU's. Under "US" in active directory there are cities. For some reason the line below only returns the first city listed on US. I think I need to modify my search base to specify the OU under US?
$Computers = Get-ADComputer -Property Name, lastLogonDate -Filter { lastLogonDate -lt $Days } -Server servername -Searchbase "OU=US,DC=mydomain,DC=net" `