I'm not sure how to view the query string. ADUC is building the query itself. 
Here's a sample query:



[cid:image003.jpg@01CADC87.99D77390]



Note that the search yields two results. However, there are more than two 
computers that have "96" in their description. For example, here's the 
description of one computer that's not showing up in the search:



TCSB#9615    svc tag# F0H4PD1



One thing I noticed is that the description of the computer that didn't appear 
in the results doesn't have any spaces before the "96" characters, while the 
two that do appear have at least one space somewhere in the description before 
the "96."









-----Original Message-----
From: Damien Solodow [mailto:damien.solo...@harrison.edu]
Sent: Wednesday, April 14, 2010 10:55 AM
To: NT System Admin Issues
Subject: RE: Searching AD by Computer Description



What does your ADUC query string look like?



-----Original Message-----

From: John Hornbuckle [mailto:john.hornbuc...@taylor.k12.fl.us]

Sent: Wednesday, April 14, 2010 10:50 AM

To: NT System Admin Issues

Subject: RE: Searching AD by Computer Description



This sounded like the easiest solution, but I can't get it to work

consistently for me. For instance, say I have three machines with these

descriptions:



Machine123

Machine223

Machine323



I'm in ADUC, I create a search by description, and I put "*23" (not

including the quotation marks). My search results will show two of the

machines, but not the third one.



I'm trying to figure out what the pattern is--what's common about the

machines that are showing up in the results vs. those that aren't...







-----Original Message-----

From: Damien Solodow [mailto:damien.solo...@harrison.edu]

Sent: Monday, April 12, 2010 4:04 PM

To: NT System Admin Issues

Subject: RE: Searching AD by Computer Description



I just took the LDAP query the wizard creates for "Starts with STRING"

and put a wildcard at the front. :)







-----Original Message-----

From: Ben Scott [mailto:mailvor...@gmail.com]

Sent: Monday, April 12, 2010 4:00 PM

To: NT System Admin Issues

Subject: Re: Searching AD by Computer Description



On Mon, Apr 12, 2010 at 3:39 PM, Damien Solodow

<damien.solo...@harrison.edu> wrote:

> It's pretty straightforward. J In ADUC select the option for "Custom

Search"

> and then click the Advanced tab.

>

> Your search string should be this:

>

(&(objectCategory=computer)(objectClass=computer)(description=*STRING*))

> where STRING is what you're searching for.



  This must be some new definition of "straightforward" of which I was

previously unaware.  ;-)



  (With apologies to Douglas Adams.)



-- Ben



~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~

<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~





~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~

<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~







NOTICE: Florida has a broad public records law. Most written

communications to or from this entity are public records that will be

disclosed to the public and the media upon request. E-mail

communications may be subject to public disclosure.





~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~

<http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~





~ Finally, powerful endpoint security that ISN'T a resource hog! ~

~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~





NOTICE: Florida has a broad public records law. Most written communications to 
or from this entity are public records that will be disclosed to the public and 
the media upon request. E-mail communications may be subject to public 
disclosure.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

<<inline: image003.jpg>>

Reply via email to