Solved

listing all computers and servers in a domain

Posted on 2014-10-28
2
107 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

This article explains the steps required to use the default Photos screensaver to display branding/corporate images
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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 update 100 user accounts from an external text file. View in 1080p for best video quality.

705 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