Contact List for ABP Exchange 2013

easyworks
easyworks used Ask the Experts™
on
I am trying to create an Address Book Policy (ABP).
How do I create a ContactList based on the steps from https://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx

In Step 4: Create the ABPs it asks you create an ABP from the command they give you. They have listed in that step
-AddressLists "AL_TAIL_Users_DGs"," AL_TAIL_Contacts"

Open in new window

so it will throw back an error if you try to follow their steps.

I looked back in step 3 and I could not find anything referencing "Contacts". I guess what I need to do is create a AddressList and name it contacts from the input they gave me I assume i woudl just change "AL_TAIL_Users_DGs" to "AL_TAIL_Contacts"?
New-AddressList -Name "AL_TAIL_Contacts" -RecipientFilter {((RecipientType -eq 'UserMailbox') -or (RecipientType -eq "MailUniversalDistributionGroup") -or (RecipientType -eq "DynamicDistributionGroup")) -and (CustomAttribute15 -eq "TAIL")}

Open in new window

Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Upon closer examination I realized in the example given that they did not include a room. So "Contacts" from the microsoft website really should have been "Rooms".

-AddressLists "AL_TAIL_Users_DGs"," AL_TAIL_Rooms"

Open in new window


full code (note added s to -Name AL_FAB_Rooms so that below works because its spelled "Rooms".
New-AddressList -Name AL_FAB_Rooms -RecipientFilter {(Alias -ne $null) -and (CustomAttribute15 -eq "FAB")-and (RecipientDisplayType -eq 'ConferenceRoomMailbox') -or (RecipientDisplayType -eq 'SyncedConferenceRoomMailbox')}

Open in new window


Creating the ABP. (note also change "Contacts" to "Rooms")
New-AddressBookPolicy -Name "ABP_TAIL" -AddressLists "AL_TAIL_Users_DGs"," AL_TAIL_Rooms" -OfflineAddressBook "\OAB_TAIL" -GlobalAddressList "\GAL_TAIL" -RoomList "\AL_TAIL_Rooms"

Open in new window

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial