I think when you call SetInfo(), the cache changes, so you probably need to call GetObject again.
Also - I would recommend doing error-checking at each step. For info and examples, check the ADSI chapter in 'perl for system admin'.
"Battle not with trolls, lest ye become a troll; and if you gaze into the Internet, the Internet gazes also into you."
-Friedrich Nietzsche: A Dynamic Translation
In reply to Re: Setting Attribute Values with ADSI
by NetWallah
in thread Setting Attribute Values with ADSI
by ItsMe2003
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |