Hi,
 
I'm trying to change the managedBy value of a computer in the Computers container on 
our Win2k domain. However, there's virtually no documentation on how to do something 
like this. There's plenty of documentation on how to get the current values for the 
particular computer, but nothing to drill down further to the Attribute level. I'm new 
to Win32:OLE->GetObject and don't know if this is even the starting point. Below is 
the code I have so far, but it isn't much, since what I'm looking for probably one or 
two line long...
 

use Win32::OLE qw( in );
$ADsPath = 
"LDAP://OurDomain/CN=$machinename,CN=Computers,DC=corp,DC=OurDomain,DC=net";;
$AD= Win32::OLE->GetObject($ADsPath);
print $AD;
 
I'm trying to use this just to see if I can access the class. But, no luck.
 
Any help would be greatly appreciated..
 
Henry

ޮU��}�vh�����x%��Oz�V�}�٢�X��ǫ�-�����^r����칻�&ކ�i��b�����+�J֭y�&�f��f��l���


Reply via email to