Sounds doable.

More of a pain than via the ADUC GUI, but if it's the only option...



-----Original Message-----
From: Steven Peck [mailto:sep...@gmail.com] 
Sent: Monday, April 12, 2010 3:15 PM
To: NT System Admin Issues
Subject: Re: Searching AD by Computer Description

Sounds perfect for PowerShell with the Quest AD cmdlets

# I stick things in variables so I am not hitting AD doing the sort.
# This will get all your computer objects that AD sees.
$computer = get-qadcomputer - sizelimit 0

# This will find all systems with accounting in the description.
$computer | where { $_.Description -like '*accounting*' }

Steven

On Mon, Apr 12, 2010 at 11:47 AM, John Hornbuckle
<john.hornbuc...@taylor.k12.fl.us> wrote:
> When I search ADUC using the description field for computers, I can use the
> following options:
>
>
>
> Starts with
>
> Ends with
>
> Is (exactly)
>
> Is not
>
> Present
>
> Not present
>
>
>
> I need to search for a string that's in the computer's description, but it's
> neither the start nor end of the description-it's somewhere in the middle.
> What I need is a "Contains" options. Is this possible? It seems so basic
> that I feel sure I'm missing something.
>
>
>
>
>
>
>
> John Hornbuckle
>
> MIS Department
>
> Taylor County School District
>
> www.taylor.k12.fl.us
>
>
>
>
>
> 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/>  ~



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/>  ~

Reply via email to