Find inactive computer accounts dsquery computer OU=SomeOU,DC=xxx,DC=yyy,DC=zzz -limit 1000 -inactive 6 > inactive.txt