?
Solved

LDAP Query for networkAddress attribute

Posted on 2011-09-20
3
Medium Priority
?
1,786 Views
Last Modified: 2012-05-12
In Active Directory, I would like to run a LDAP query against all computers finding the information on the "networkAddress" attribute.

We record all MAC addresses on computers once joined to the domain.  Now, i would like to have a handy query i can run against it.

thanks
0
Comment
Question by:lgarza
[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
3 Comments
 
LVL 39

Accepted Solution

by:
Krzysztof Pytko earned 1000 total points
ID: 36572595
Try with that on a DC or workstation with Administrative Tools installed

dsquery * -filter "&(&(objectClass=Computer)(objectCategory=Computer))" -attr sAMAccountName,networkAddress

Regards,
Krzysztof
0
 

Author Comment

by:lgarza
ID: 36599755
perfect!  thank you very much
0
 
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 36708320
You're welcome :) Glad that it works :)

Krzysztof
0

Featured Post

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
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…
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 …
Suggested Courses

777 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