Alan's Blog

"Yeah. I wrote a script that will do that."

LDAP Ping

Posted on February 14th, 2013

There are a lot of ways a Windows Domain Controller can act weird.  Recently I had some which replied to a ping, replied to DNS requests, but failed to reply to LDAP.  Since LDAP services are pretty high on my list of expectations for a Directory Services, I wanted a lightweight way to monitor LDAP.  DC LDAP Ping.vbs is a script which enumerates the list of domain controllers in a domain, then binds to each in turn, measuring the time it takes to do so.  You can set audible alarms, and run continuously if you like.

For more DC status, try the newer Quickly Check Domain Controller Health script.

Filed under Scripting, VbScript, Windows Administration |

Leave a Reply

You must be logged in to post a comment.

Please Note

All the scripts are saved as .txt files. Newer files have a "View Script" button which will let you save or open a script in notepad. For earlier posts, the easiest way to download with IE is to right click on the link and use "Save Target As". Rename file from Name_ext.txt to Name.ext.

To see a full post after searching, please click on the title.

PowerShell Scripts were written with Version 3 or 4.

https connections are supported.

All new users accounts must be approved, as are comments. Please be patient. It is pretty easy to figure out my email address from the scripts, and you are welcome to contact me that way.

Site Search

Categories

Archives

SQL Site

Bad Behavior has blocked 134 access attempts in the last 7 days.