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:
Please log in to answer
Posted by:
anonymous_9363
9 years ago
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.
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.