You may need to change the scope to view all Exchange Recipients or objects in the forest or Recipients
in other domains or organizational units. If you attempt to retrieve or modify objects outside your
current Recipient scope, you may receive errors. For example, if the Recipient scope of the Exchange
Management Shell is set to a specific OU, ExchangeExchange.local/ExOU , say, attempting to create a
new user or group in the Users Container that is outside the current Recipient scope would result in the
error shown in Figure 4 - 1 . Notice that the Exchange Management Shell scope is set to
ExchangeExchange.local/ExOU .
Figure 4-1
Chapter 4: Working with User and Group Objects
85
Subsequently, changing the Recipient scope to the domain using the $AdminSessionADSettings
variable enables you to successfully create the group as shown in Figure 4 - 2 . Minimum permissions
required are Exchange View - Only Administrator and member of the Local Administrators group on the
Exchange Server.
Field Description
ViewEntireForest By default this field is set to $false. Setting it to $True
enables you to view and manage all Recipients in the forest
using the Exchange Management Shell. To view and
manage all Recipients in the forest, set this field to
$True by running:
$AdminSessionADSettings.
Pages:
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159