[Big Grin] Oh man, I have found MY error!!!

"Simply" I want to set the computerdescription with data that I get from an inventorydatabase. From that database I can only get the workstationname but not the complete LDAP-path (including its position in our OU-structure). Maybe I'm thinking to complicated. But I think I must first translate my information like \ in a LDAP-path to connect to the object when I want to set the description in the active directory.

I have tried it with a code-snippet in vbscript like this
code:
Set NameTranslate = CreateObject("NameTranslate")
NameTranslate.Init 1, "domain"
NameTranslate.Set 4, "workstation"
ReturnName = NameTranslate.Get(1)
WScript.Echo ReturnName

I have simply forgotten the $ at the end of the workstationname. [Wink]
_________________________
Jens Kalski