?
Solved

get ad computers

Posted on 2016-09-29
2
Medium Priority
?
61 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 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 20

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Here's a look at newsworthy articles and community happenings during the last month.
A bad practice commonly found during an account life cycle is to set its password to an initial, insecure password. The Password Reset Tool was developed to make the password reset process easier and more secure.
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 …
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

850 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