Jump to content

BuckeyeFan

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by BuckeyeFan

  1. Newbie Needs Help I've tried to use _ADModifyAttribute, _ADObjectExists, and _ADSamAccountNametoFQDN and can't get any of them to work. Perhaps I don't know how to feed these functions the samAccountName. I downloaded the lastest adfunctions.au3 file and have it include in my script. Here are some excerpts from my code... $object = @ComputerName $result = _ADObjectExists($object) MsgBox(0,"test", $result) This will return a 0 and can't find my computer name. I tried putting CN= in front of it and tried using my username with and without the CN= as an object name as well. $result = _ADSamAccountNametoFQDN($object) MsgBox(0,"test", $result) This will return an empty string Anyone have any ideas as to what I'm doing wrong?? This UDF looks great but I'm not having any luck in using any of the functions. ...and yes, I am a part of the domain and am logged into it. The global variables $strDNSDomain and $strHostServer do populate correctly.
×
×
  • Create New...