Solved

get ad computers

Posted on 2016-09-29
2
43 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 17

Assisted Solution

by:Malmensa
Malmensa 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A brief introduction to what I consider to be the best editor for PowerShell.
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 …

776 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