Accessing Active Directory

Does anybody have any tips for accessing Active Directory from Pipeline Pilot?

I'm guessing that either using VBScript or command line tools is the way to go, but I thought I'd see if anybody had already done this and could push me in the right direction.

Thanks.
Robin