Changing the scope so you can view the entire domain in Powershell


The requested search root domain.local/Users’ is not within the scope of this operation. Cannot perform searches outside the scope ‘child.domain.local’.

 

2007 = $AdminSessionADSettings.ViewEntireForest = $true

2010 = Set-AdServerSettings -ViewEntireForest $True

or use –ignonreDefaultScope on the command if applicable, i.e. get-mailbox –ignonreDefaultScope

 

http://technet.microsoft.com/en-us/library/bb124527.aspx

4 thoughts on “Changing the scope so you can view the entire domain in Powershell

  1. Pingback: Estendere lo scope a tutta la foresta Exchange | Blog tmp

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s