Solved

listing all computers and servers in a domain

Posted on 2014-10-28
2
100 Views
Last Modified: 2014-11-12
What is the quickest way to list all servers/desktops (live systems) in an AD domain, and write the information out to a csv report?
0
Comment
Question by:pma111
2 Comments
 
LVL 16

Accepted Solution

by:
Joshua Grantom earned 250 total points
ID: 40408369
Powershell.

This will pull all computers in your domain and will include the name, operating system, and IP address.

Import-Module ActiveDirectory
Get-ADComputer -filter * -properties OperatingSystem,IPv4Address | Select Name,OperatingSystem,IPv4Address | Export-CSV C:\AllServersandDesktops.csv -nti

Open in new window

0
 
LVL 22

Assisted Solution

by:Joseph Moody
Joseph Moody earned 250 total points
ID: 40408458
In Active Directory Users and Computers, you can go to Saved Queries. New Query. Click Define. Set Name to Has a value. Export list to a CSV.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. 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

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

867 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now