Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools


windows:servers:exchange:address_books

Address books and address lists in exchange

New-GlobalAddressList -Name Example_Global -ConditionalCompany @{Add="Example ltd"} -IncludedRecipients AllRecipients
Update-GlobalAddressList Example_Global
 
New-OfflineAddressBook -Name Example_Offline -AddressLists Example_Global
Update-OfflineAddressBook Example_Offline
 
New-AddressList -Name Example_People -RecipientFilter "((Company -eq 'Example ltd') -and (RecipientType -eq 'UserMailbox'))"
New-AddressList -Name Example_Rooms -RecipientFilter "((Company -eq 'Example ltd') -and (((RecipientType -eq 'UserMailbox') -and (ResourceMetaData -like 'ResourceType:*') -and (ResourceSearchProperties -ne $null))))"
Update-AddressList Example*
 
New-AddressBookPolicy Example -GlobalAddressList Example_Global -RoomList Example_Rooms -AddressLists Example_People -OfflineAddressBook Example_Offline
 
Set-MailBox -Identity "user" -AddressBookPolicy Example

Before deleting the policy, check who uses the policy

Get-Mailbox  | select Name,AddressBookPolicy

Discussion

Enter your comment:
A Z W S C
 
windows/servers/exchange/address_books.txt · Last modified: 2019/01/16 11:27 by tplecko