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
  • windows/servers/exchange/address_books.txt
  • Last modified: 2019/10/31 09:14
  • by 127.0.0.1