thanks
>.
>
Hi,
Computer description can be set with ADSI and VBScript.
WMI is not needed. The procedure is exactly the same for
user and computer objects. Technically, the "description"
attribute is multi-valued. The "proper" way is to use the
PutEx method, even though only one value is allowed.
Assuming sufficient rights:
Const ADS_PROPERTY_UPDATE = 2
Set oComputer = GetObject_
("LDAP://cn=MyComputer,cn=computers,dc=MyDomain,dc=com")
oComputer.PutEx ADS_PROPERTY_UPDATE, _
"description", Array("Admin Computer")
Richard