Solved

get ad computers

Posted on 2016-09-29
2
46 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
2 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 250 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 18

Assisted Solution

by:Mal Osborne
Mal Osborne earned 250 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

685 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