Scripting Question


02/02/2015 2368 views

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.


Answer Summary:
0 Comments   [ + ] Show comments


Answer Chosen by the Author

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.
Answered 02/02/2015 by: VBScab
Red Belt

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