Workflow Soluiton

 View Only
  • 1.  Get computer Distinguished name

    Posted Oct 11, 2011 06:20 AM

    Hey everyone

    I need to get the Distinguished name of a computer within the AD.
    I only need this on 1 computer.

    I have tried looking into the "Get Computer List" component, and then tell it to search of only that computer i need, but the AD attribute "Distinguished name" doesn't seem to be able to be availeble.

    could someone tell me the best way to grab this information on only 1 computer?

    Kind Regards
    Morten Leth



  • 2.  RE: Get computer Distinguished name
    Best Answer

    Posted Oct 11, 2011 08:53 AM

    Hi Morten,

     

    You can either use the Additional Attributes in the list computer component (the attribute you want is DistinguishedName), or - oddly enough, you can use the Get User component, and just feed in the Computer name. The Get User component actually will get any LDAP object in AD. As long as the computer exists, you'll get back the right data.

     

    As a last alternative, you could create you own LDAP integrtion component that will get back the data you need.

     

    Rob



  • 3.  RE: Get computer Distinguished name

    Posted Oct 11, 2011 09:29 AM

    Sweet Rob

    It works like a charm to use that component, which i actually think is more neat, since that is a single-instance component, instead of me getting and array back.. ;)

    Kind Regards
    Morten Leth