I am using this command to get the dn of multiple machine accounts in a domain
But I also need operating system details with dn..am not able to figure it out..can somebody please help..
for /f %x in (output.csv) do dsquery computer -name %x > machineoutput.csv