?
Solved

get ad computers

Posted on 2016-09-29
2
Medium Priority
?
54 Views
Last Modified: 2016-10-03
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?
0
Comment
Question by:pma111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 1000 total points
ID: 41821250
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
 
LVL 19

Assisted Solution

by:Mal Osborne
Mal Osborne earned 1000 total points
ID: 41821303
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

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question