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

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

Quantcast

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

Solution :

follow steps below to include he entire scope for:

Exchange 2007 = $AdminSessionADSettings.ViewEntireForest = $true

Exchange 2010 = Set-AdServerSettings -ViewEntireForest $True

or use

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

To Add permanent  , modify personal powershell profile at :

  • Default Location
    c:WindowsPowerShellprofile.ps1

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

This entry was posted in Guides, Tips and Tricks and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*
*

Powered by WP Robot

Show Buttons
Hide Buttons