For future reference,
Sample scripts for managing Active Directory and Active Directory objects
HTH,
In reply to Re: Help using Win32::OLE by planetscape in thread Help using Win32::OLE by rlb3