Jump to content

AD - Active Directory UDF 1.6.2.0

   (2 reviews)

3 Screenshots

About This File

Extensive library to control and manipulate Microsoft Active Directory.

Threads: Development - General Help & Support - Example Scripts - Wiki

Previous downloads: 30467

 

Known Bugs: (last changed: 2020-10-05)

  • None

Things to come: (last changed: 2020-07-21)

  • None


BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort :)


What's New in Version 1.6.2.0

Released


DOCUMENTATION

  • Added some inline documentation

CHANGED FUNCTIONS

  • _AD_Close: Now returns @error=2 when $__oAD_Connection is not an object.
    Resets global variables $__oAD_Command, $__oAD_Bind and $__bAD_BindFlags as well
  • _AD_Open: Now returns @error=9 when the ADODB.Command object (variable $__oAD_Command) could not be created.

User Feedback

Recommended Comments

What an amazing addition, thank you so much for this.

I've been using this with a lot of success but I a few questions:

I'm wondering how it gets the values?

For instance, the _AD_GetUserGroups, how are you getting the FDQN's for each group? Where is it grabbing them from? Is powershell running in the background? I'm very new to autoit but I'm hungry to learn more about how it functions. Especially with AD since most of my job is in AD and Exchange.

How does _AD_Open open AD? is it using the DSA.msc function?

Do you know of any UDF's for Exchange 2010?

 

Link to comment
Share on other sites

BTW I tried to give this 5 stars but it won't allow me to but it's definitely 5 stars.

You need to download the UDF and then write a review (under "User Feedback" there are two tabs (Comments and Reviews). You can give 5 stars on the Review tab.

The UDF uses COM to access/manipulate objects in AD.

To access an Exchange server I suggest you have a look at my OutlookEX UDF.

Link to comment
Share on other sites

Water: More than once I wondered what would I do without this UDF. You saved me many hours of scripting and tears ;)

I cannot think of something that helped so much to complete my daily job. 

THANK YOU!

Link to comment
Share on other sites

Another great UDF... cant wait to get started.. Also the helpfiles are well done. Keep up this great work.

Edited by Skeletor
Link to comment
Share on other sites

Great program. Thank you VERY MUCH for it.
I prefer _AD_GetObjectAttribute by email address as it's easier to remember to my users and is unique for each user at my work.
so instead of FQDN or sAMAccountName I use email address so I added the following line
in Func _AD_GetObjectAttribute($sObject, $sAttribute)
below line: If StringMid($sObject, 3, 1) = "=" Then $sProperty = "distinguishedName" ; FQDN provided
I added: if StringInStr($sObject, "@") > 0 then $sProperty = "mail"

Thanks again for the great work!

Link to comment
Share on other sites

×
×
  • Create New...