How to retrieve a computer comment over the network?

From: Vangelis (sp-NO-SPAM_at_ip.lu)
Date: 04/05/04


Date: Mon, 5 Apr 2004 19:20:48 +0200

Hi,

I'm currently successfully retrieving the list of computers connected on the
differents domains of our network via the
System.DirectoryServices.DirectoryEntry class.

What I'd like to have in addition of the computers name is their comment
(just like when you browse over your network places on XP).

The only way I found is querying the description field of
win32_computersystem (WMI). Unfortunatly, I need to use an authenticated
user/password (for the System.Management.ManagementScope constructor) for
each computers to retrieve the comment (except for my own computer).

Does anybody know if (and how) it is possible to retrieve this comment (when
available), please?

Best regards,

Vangelis



Relevant Pages

  • Re: Retrieve information of a remote machine in vbscript
    ... It's possible to retrieve information like Operating System ... I have catched the examples in the Script Center and in Hey, ... administrator on the remote computers (Domain Admins is a member of the ...
    (microsoft.public.scripting.vbscript)
  • Encrypted file system / web server usage.
    ... A friend wants to store some documents so that he can retrieve them ... Is there any way data can be stored on a web server such that even if ... He is quite happy to dedicate the task to multiple computers. ...
    (comp.sys.sun.admin)
  • Re: I need the SID for all the computer accounts in AD!!
    ... You can use ADO to retrieve the value of the objectSID attribute of all ... ' Comma delimited list of attribute values to retrieve. ... Dim arrbytSid, lngTemp, j ... This can be slow and some computers may not be available. ...
    (microsoft.public.scripting.vbscript)
  • Re: I need the SID for all the computer accounts in AD!!
    ... You can use ADO to retrieve the value of the objectSID attribute of all ... ' Comma delimited list of attribute values to retrieve. ... Dim arrbytSid, lngTemp, j ... This can be slow and some computers may not be available. ...
    (microsoft.public.scripting.vbscript)
  • Re: Security/ password problem
    ... >I use Outlook Express 6 on computers at client offices that I use. ... > configure the mail accounts property not to remember the password. ... > program still is able to retrieve my mails. ... how do I force it to prompt for a password ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)