/build/static/layout/Breadcrumb_cap_w.png

DNS AND AD POWERSHELL SCRIPT

Hello everyone

I have been facing crazy DNS conflicts off late in my environment which causes a lot of headache for the users and myself as an Admin. i am trying to find a way to pull every computer in AD.  a script that will be able to give me associated IP address and DNS hostname. i would also like to find many more thing like when was the computer created, when was the last logon on the computer, how many bad logins were attempted, what is the Operating System on the computer. any help would be greatly appreciated.


thanks


0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: anonymous_9363 9 years ago
Red Belt
1

Top Answer

The MouseTrax Domain Report Manager script is a good start.

I took that script and massaged it into an HTA, as good chunks of what I wanted the script to do were missing. The HTA can be downloaded here. Please note, however, that I offer no warranty or support, although I'll do my best to answer intelligent questions about it.

Much of what the HTA does can be added to fairly simply. For things like LastLogon time, though, there is a challenge in reformatting the way the date/time is stored into a more standard format but there is code around to do that. It's just a question of massaging it in.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ