List computers in OU in Active Directory
Is there a way to output a list of the computers in a certain OU into a text document?
Comments
-
qwertyiop Member Posts: 725 ■■■□□□□□□□
Thanks alot. I still had to modify the output so I can use it but you saved me the trouble of having to type out every machine -
brad- Member Posts: 1,218Is there a way to output a list of the computers in a certain OU into a text document?
-
HeroPsycho Inactive Imported Users Posts: 1,940Using the Quest AD cmdlets:
get-QADComputer -SearchRoot 'company.com/ComputersOU' | select name,anyotherpropertiesyouwant | export-csv report.csv -notypeGood luck to all!