Thanks, this did the trick:

-UseGlobalCatalog

Much appreciated.


Chris Bodnar, MCSE, MCITP
Technical Support III
Distributed Systems Service Delivery - Intel Services
Guardian Life Insurance Company of America
Email: [email protected]
Phone: 610-807-6459
Fax: 610-807-6003



From:   Rubens Almeida <[email protected]>
To:     "NT System Admin Issues" <[email protected]>
Date:   09/26/2011 04:40 PM
Subject:        Re: PowerShell, search entire forest?



Hi Chris,

I got a lot of clients running Posh 1.0 and Quest CMDlets and every time I 
need to search a forest, this is how I do it:

get-qaduser <ID goes here> -IAP -SearchScope "Subtree" -SearchRoot 
"DC=domain,DC=com"  -SizeLimit 0 -UseGlobalCatalog

I always point the -SearchRoot to the forest root and it works for me. 
Hope that helps.

Regards,


On Mon, Sep 26, 2011 at 10:26 AM, Christopher Bodnar <
[email protected]> wrote:
I'm searching for a number of groups, and they can be located in any of 
the domains in our forest (root and 5 child domains). Is there a switch to 
have it search the entire forest? I know I can write something that will 
cycle through each domain until it finds it, but thought there would be 
something native to do this. I'm using the Quest CMDLETS. I've tried 
different combinations of -searchRoot and -Service with no luck so far. 



Thanks, 

Chris Bodnar, MCSE, MCITP
Technical Support III
Distributed Systems Service Delivery - Intel Services
Guardian Life Insurance Company of America
Email: [email protected]
Phone: 610-807-6459
Fax: 610-807-6003 ----------------------------------------- This message, 
and any attachments to it, may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law. If the 
reader of this message is not the intended recipient, you are notified 
that any use, dissemination, distribution, copying, or communication of 
this message is strictly prohibited. If you have received this message in 
error, please notify the sender immediately by return e-mail and delete 
the message and any attachments. Thank you. 
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

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

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to