How to obtain just the value of an atribute RRS feed

  • Question

  • Hello,

    I have a quick question. I am trying to use orchestrator to move a computer object based on its computer. I am going to do this by keeping a SQL db that orchestrator will query and return the GUID of an OU. My next problem using "get-adorganizationalunit" command to pass the guid and return the DN. I use the get-adorganizationalunit command, use -property "distinguishedName" and filter on the "objectGUID" then I pipe it and select the distinguished name. The prolem is the output looks like this "@{distinguishedname=OU=bla bla bal}. I want just the DN not the brackets or the @distinguishedname. I am sure this is a simple thing I am missing so I hope someone could steer me in the right direction.


    Thursday, January 30, 2014 8:37 PM


All replies