Querying a Computer property

P

Paul Johnston

I have been using dsquery to find what level of service pack have been
installed on our machines and it works fine.

<snip>
operatingSystem: Windows XP Professional
operatingSystemVersion: 5.1 (2600)
operatingSystemServicePack: Service Pack 1
</snip>


Looking at all the attributes for an objectClass: computer however I
don't seem to be able to find the entry "Description" entry from the
"General" tab whilst looking at the properties of a machine using the
GUI for "Active Directory Users and Computers"

I have been putting motherboard type in this and it would be useful to
report on it.
More generally put why does

dsquery * DN -scope base -attr *

Show some of the computers properties that I can find from the GUI
and not others ?

Quite new to this so apologies if I've overlooked something I should
have known

Paul
 
J

Jerold Schulman

I have been using dsquery to find what level of service pack have been
installed on our machines and it works fine.

<snip>
operatingSystem: Windows XP Professional
operatingSystemVersion: 5.1 (2600)
operatingSystemServicePack: Service Pack 1
</snip>


Looking at all the attributes for an objectClass: computer however I
don't seem to be able to find the entry "Description" entry from the
"General" tab whilst looking at the properties of a machine using the
GUI for "Active Directory Users and Computers"

I have been putting motherboard type in this and it would be useful to
report on it.
More generally put why does

dsquery * DN -scope base -attr *

Show some of the computers properties that I can find from the GUI
and not others ?

Quite new to this so apologies if I've overlooked something I should
have known

Paul

Unfortunately, dsquery doesn't expose all attributes.
Use ADFIND, tip 5898 in the 'Tips & Tricks' at http://www.jsiinc.com and
ADMOD, tip 8233.



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top