• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 64
  • Last Modified:

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?
2 Solutions
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
Mal OsborneAlpha 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.
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.

Join & Write a Comment

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now