ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ADSysteminfo (https://www.excelbanter.com/excel-programming/412570-adsysteminfo.html)

Tim Rush

ADSysteminfo
 
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


Rick Rothstein \(MVP - VB\)[_2109_]

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



Tim Rush

ADSysteminfo
 
I'm attempting to read them. Was not aware I could even write them back.
Especially on domain protected systems.
Just need to know which references to use for this library.


"Rick Rothstein (MVP - VB)" wrote:

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





All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com