Solved

listing all computers and servers in a domain

Posted on 2014-10-28
2
102 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
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 bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

791 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