ADSysteminfo
I'm pretty sure
CN = Environ("computername")
will assign the name of the computer your code is executing on to the CN
variable.
Rick
"Tim Rush" wrote in message
...
I've used this in Excel before, but am not sure what library was necessary
to
make it work. Can anyone clue me in?
Dim objSysInfo As Object
Set objSysInfo = CreateObject("ADSystemInfo")
I'm looking to pull in some system information off the machines running
the
file and logging it. ojbSysInfo.coomputername for example would give me
the full CN=.... response.
Tim
|