Alex's ICT Blog
Pages
Home
About
Thursday, July 9, 2015
Export list of computers from an OU to a .csv file
get-adcomputer -filter * -searchbase “OU=Test,DC=domain,DC=local" | select name | export-csv
<INSERT PATH TO .CSV FILE>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment