You need to configure the address books to meet the business goal for the finance department.
Which four cmdlets should you use?
A. Set-MailUser, New-OfflineAddressBook, New-AddressBookPolicy, and New- GlobalAddressList
B. Set-MailUser, New-OfflineAddressBook, New-GlobalAddressList, and New-AddressList
C. Set-Mailbox, New-DistributionGroup, New-AddressBookPolicy. and New-AddressList
D. Set-Mailbox, New-AddressBookPolicy, New-GlobalAddressList, and New-AddressList
Correct Answer: D
Explanation/Reference:
Set-Mailbox must be used to assign the Address Book Policy, therefore D is correct
http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
Step 1: Install and configure the Address Book Policy Routing agent
Step 2: Divide your virtual organizations
Step 3: Create the address lists, GALs, and OABs
When you create the address lists and global address lists do not use "IncludedRecipient" and "ConditionalX" parameters, such as ConditionalCompany and ConditionalCustomAttribute5. You should use a recipient filter instead. You must use the Shell to create recipient filters. For more information about Recipient
Filters, see Recipient Filtering
In creating the ABP, you will create multiple address lists based on how you want your users to view the address lists in Outlook or Outlook Web App. This organization has four address lists:
AL_FAB_Users_DGs
AL_FAB_Contacts
AL_TAIL_Users_DGs
AL_TAIL_Contacts
This example creates the address list AL_TAIL_Users_DGs. The address list contains all users and distribution groups where CustomAttribute15 equals TAIL.
New-AddressList -Name "AL_TAIL_Users_DGs" -RecipientFilter {((RecipientType -eq ‘UserMailbox’) -or
(RecipientType -eq "MailUniversalDistributionGroup") -or (RecipientType -eq
"DynamicDistributionGroup")) -and (CustomAttribute15 -eq "TAIL")}
For more information about creating address lists by using recipient filters, see Create an Address List By
Using Recipient Filters.
In order to create an ABP, you have to provide a room address list. If your organization doesn’t have resource mailboxes such as room or equipment mailboxes, we suggest that you create a blank room address list. The following example creates a blank room address list because there are no room mailboxes in the organization.
New-AddressList -Name AL_BlankRoom -RecipientFilter {(Alias -ne $null) -and ((RecipientDisplayType
-eq ‘ConferenceRoomMailbox’) -or (RecipientDisplayType -eq ‘SyncedConferenceRoomMailbox’))}
However, in this scenario, Fabrikam and Contoso both have room mailboxes. This example creates room list for Fabrikam by using a recipient filter where
CustomAttribute15 equals FAB.
New-AddressList -Name AL_FAB_Room -RecipientFilter {(Alias -ne $null) -and (CustomAttribute15 -eq
"FAB")-and (RecipientDisplayType -eq ‘ConferenceRoomMailbox’) -or (RecipientDisplayType -eq’SyncedConferenceRoomMailbox’)}
The global address list used in an ABP must be a superset of the address lists. Do not create a GAL with fewer objects than exists in any or all of the address lists in the ABP. This example creates the global address list for Tailspin Toys that includes all of the recipients that exists in the address lists and room address list.
New-GlobalAddressList -Name "GAL_TAIL" -RecipientFilter {(CustomAttribute15 -eq "TAIL")} For more information, see Create a Global Address List.
When you create the OAB you should include the appropriate GAL when providing the AddressLists parameter of New- or Set-OfflineAddressBook to ensure no entry is unexpectedly missed. Basically, you can customize the set of entries that a user will see or reduce the download size of the OAB by specifying a list of
AddressLists in AddressLists of New/Set-OfflineAddressBook. However, if you want users to see the full set of GAL entries in OAB, make sure that you include the GAL in the AddressLists.
This example creates the OAB for Fabrikam named OAB_FAB.
New-OfflineAddressBook -Name "OAB_FAB" -AddressLists "GAL_FAB"
For more information, see Create an Offline Address Book.
Step 4: Create the ABPs
After you’ve created all of the required objects you can then create the ABP. This example creates the ABP named ABP_TAIL.
New-AddressBookPolicy -Name "ABP_TAIL" -AddressLists "AL_TAIL_Users_DGs","
AL_TAIL_Contacts" -OfflineAddressBook "OAB_TAIL" -GlobalAddressList "GAL_TAIL" -RoomList
"AL_TAIL_Rooms"
For more information, see Create an Address Book Policy.
Step 5: Assign the ABPs to the mailboxes
Assigning the ABP to the user is the last step in the process. ABPs take effect when a user’s application connects to the Microsoft Exchange Address Book service on the Client Access server. If the user is already connected to Outlook or Outlook Web App when the ABP is applied to their account, they will need to close and restart the client application before they can see their new address lists and GAL.
This example assigns ABP_FAB to all mailboxes where CustomAttribute15 equals "FAB".
Get-Mailbox -resultsize unlimited | where {$_.CustomAttribute15 -eq "TAIL"} | Set-Mailbox –
AddressBookPolicy "ABP_TAIL"
Explanation/Reference:
Set-Mailbox must be used to assign the Address Book Policy, therefore D is correct
http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
Step 1: Install and configure the Address Book Policy Routing agent
Step 2: Divide your virtual organizations
Step 3: Create the address lists, GALs, and OABs
When you create the address lists and global address lists do not use "IncludedRecipient" and "ConditionalX" parameters, such as ConditionalCompany and ConditionalCustomAttribute5. You should use a recipient filter instead. You must use the Shell to create recipient filters. For more information about Recipient
Filters, see Recipient Filtering
In creating the ABP, you will create multiple address lists based on how you want your users to view the address lists in Outlook or Outlook Web App. This organization has four address lists:
AL_FAB_Users_DGs
AL_FAB_Contacts
AL_TAIL_Users_DGs
AL_TAIL_Contacts
This example creates the address list AL_TAIL_Users_DGs. The address list contains all users and distribution groups where CustomAttribute15 equals TAIL.
New-AddressList -Name "AL_TAIL_Users_DGs" -RecipientFilter {((RecipientType -eq ‘UserMailbox’) -or
(RecipientType -eq "MailUniversalDistributionGroup") -or (RecipientType -eq
"DynamicDistributionGroup")) -and (CustomAttribute15 -eq "TAIL")}
For more information about creating address lists by using recipient filters, see Create an Address List By
Using Recipient Filters.
In order to create an ABP, you have to provide a room address list. If your organization doesn’t have resource mailboxes such as room or equipment mailboxes, we suggest that you create a blank room address list. The following example creates a blank room address list because there are no room mailboxes in the organization.
New-AddressList -Name AL_BlankRoom -RecipientFilter {(Alias -ne $null) -and ((RecipientDisplayType
-eq ‘ConferenceRoomMailbox’) -or (RecipientDisplayType -eq ‘SyncedConferenceRoomMailbox’))}
However, in this scenario, Fabrikam and Contoso both have room mailboxes. This example creates room list for Fabrikam by using a recipient filter where
CustomAttribute15 equals FAB.
New-AddressList -Name AL_FAB_Room -RecipientFilter {(Alias -ne $null) -and (CustomAttribute15 -eq
"FAB")-and (RecipientDisplayType -eq ‘ConferenceRoomMailbox’) -or (RecipientDisplayType -eq’SyncedConferenceRoomMailbox’)}
The global address list used in an ABP must be a superset of the address lists. Do not create a GAL with fewer objects than exists in any or all of the address lists in the ABP. This example creates the global address list for Tailspin Toys that includes all of the recipients that exists in the address lists and room address list.
New-GlobalAddressList -Name "GAL_TAIL" -RecipientFilter {(CustomAttribute15 -eq "TAIL")} For more information, see Create a Global Address List.
When you create the OAB you should include the appropriate GAL when providing the AddressLists parameter of New- or Set-OfflineAddressBook to ensure no entry is unexpectedly missed. Basically, you can customize the set of entries that a user will see or reduce the download size of the OAB by specifying a list of
AddressLists in AddressLists of New/Set-OfflineAddressBook. However, if you want users to see the full set of GAL entries in OAB, make sure that you include the GAL in the AddressLists.
This example creates the OAB for Fabrikam named OAB_FAB.
New-OfflineAddressBook -Name "OAB_FAB" -AddressLists "GAL_FAB"
For more information, see Create an Offline Address Book.
Step 4: Create the ABPs
After you’ve created all of the required objects you can then create the ABP. This example creates the ABP named ABP_TAIL.
New-AddressBookPolicy -Name "ABP_TAIL" -AddressLists "AL_TAIL_Users_DGs","
AL_TAIL_Contacts" -OfflineAddressBook "OAB_TAIL" -GlobalAddressList "GAL_TAIL" -RoomList
"AL_TAIL_Rooms"
For more information, see Create an Address Book Policy.
Step 5: Assign the ABPs to the mailboxes
Assigning the ABP to the user is the last step in the process. ABPs take effect when a user’s application connects to the Microsoft Exchange Address Book service on the Client Access server. If the user is already connected to Outlook or Outlook Web App when the ABP is applied to their account, they will need to close and restart the client application before they can see their new address lists and GAL.
This example assigns ABP_FAB to all mailboxes where CustomAttribute15 equals "FAB".
Get-Mailbox -resultsize unlimited | where {$_.CustomAttribute15 -eq "TAIL"} | Set-Mailbox –
AddressBookPolicy "ABP_TAIL"