get ad computers

is there an easy way to get a list of all ad computers in a domain - and all attributes about each - written to a CSV file?
LVL 3
pma111Asked:
Who is Participating?
 
SubsunConnect With a Mentor Commented:
Try..
Get-ADComputer -F * -Pr * -ResultSetSize $null | Export-Csv C:\temp\Report.csv -nti

Open in new window

This will have all properties and their values for computer object. I would suggest you to export specific properties so it'll be faster and easy to analyze.
Ref: https://technet.microsoft.com/en-us/library/ee617192.aspx
0
 
Mal OsborneConnect With a Mentor Alpha GeekCommented:
Also, you can right click on the OU, and there is an option to "Export list". This just exports the values displayed, and only for the selected OU, but is sometimes useful.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.