PC Review


Reply
Thread Tools Rate Thread

ADSysteminfo

 
 
Tim Rush
Guest
Posts: n/a
 
      13th Jun 2008
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

 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      13th Jun 2008
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" <(E-Mail Removed)> wrote in message
news:6BEE1BCB-AD04-461F-84BC-(E-Mail Removed)...
> 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
>


 
Reply With Quote
 
Tim Rush
Guest
Posts: n/a
 
      13th Jun 2008
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" <(E-Mail Removed)> wrote in message
> news:6BEE1BCB-AD04-461F-84BC-(E-Mail Removed)...
> > 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
> >

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADSystemInfo and ComputerName Bryan Windows XP General 1 21st Sep 2009 05:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:16 AM.