Pull or Export Active Directory computer objects in a csv file.
I've used filter abc* in command. Please change it as per your needs.
DSQUERY Computer "OU=Computers,DC=childdomainname,DC=domainname,DC=local" -name abc* -scope subtree -limit 0 > C:\ComputerOU.csv
I've used filter abc* in command. Please change it as per your needs.
DSQUERY Computer "OU=Computers,DC=childdomainname,DC=domainname,DC=local" -name abc* -scope subtree -limit 0 > C:\ComputerOU.csv