Hey Experts. I am outputting all computer accounts that are inactive in my environment using DSQUERY. Here is the command I'm using currently.
C:\Tools>dsquery computer -limit 0 ou=depts,ou=12,dc=34,dc=56,dc=78,dc=90 >>c:\tools\computers_all.log
The results show way too much information and I want to filter out everything except the hostname. Anyone know the syntax for this?