Re: Querying a Computer property

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Joe Richards [MVP] (humorexpress_at_hotmail.com)
Date: 12/17/04


Date: Fri, 17 Dec 2004 00:09:19 -0500

Glad you like it. :oP

   joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net
Paul Johnston wrote:
> On Wed, 15 Dec 2004 08:16:31 -0500, Jerold Schulman <Jerry@jsiinc.com>
> wrote:
> 
> 
>>On Wed, 15 Dec 2004 10:12:25 +0000, Paul Johnston <paul.johnston_nospam@umist.ac.uk> wrote:
>>
>>
>>>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
> 
> 
> Cheers works a treat :-)
> 
> Paul


Relevant Pages

  • Re: Monitoring AD
    ... Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.win2000.active_directory)
  • Re: Permissions to service via Command Prompt
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... I'm trying to find an easier way to apply permissions to a group/user than reapplying my template, etc., does anyone have any guidance on this? ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Password filter
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... Derek Melber wrote: ...
    (microsoft.public.windows.server.security)
  • Re: Secure Channel Password
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... I just want to make sure this command is ... >>Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.win2000.active_directory)
  • Re: lastLogonTimestamp
    ... Joe Richards Microsoft MVP Windows Server Directory Services ... intLastLogonTime = intLastLogonTime / 1440 ...
    (microsoft.public.windows.server.active_directory)