New Script – Service Account Logon Information

Unless you’re fortunate enough to have implemented a password management utility, planning service account password changes and migrations can be a daunting task. I’ve posted a new script that I’ve used in the past to query the service account logon information for all servers in Active Directory. You can customize the search filter and WMI properties that are queried to meet your needs.

You can find the new script here.

Active Directory – Page Pool Size

Have you ever created a script that wouldn’t return all of the results you expected? Often times this is caused by a default Active Directory value (MaxPageSize). Initially this value is set to 1000, so when you query Active Directory only 1000 results will be returned. You can change this value through ntdsutil.exe but I recommend the following.

When configuring your ADODB command use the following property:

    objCommand.Properties(”Page Size”) = 10000

As you can see I set the Page Size value to 10000 because I know that the Active Directory I’m pulling values from will never return more than 10000. You can set this depending on the size of your environment, or to the maxint value if you’re not sure. An example follows the break.

Continue reading Active Directory – Page Pool Size…

Welcome to the Active Directory Expert

Throughout my time with Active Directory I’ve struggled to find a comprehensive reference site that contained useful and free information. The lack of existing information has forced me to develop my own scripts and methods for solving common AD related problems. This website is my attempt to share my experiences with you, and hear some of your own. Welcome to the site, I hope to have some interesting content up soon.

Powered by WordPress with [GimpStyle]
Entries and comments feeds.