Show pageOld revisionsBacklinksExport to PDFBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Address books and address lists in exchange ====== <code powershell> 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 </code> Before deleting the policy, check who uses the policy <code powershell>Get-Mailbox | select Name,AddressBookPolicy</code> windows/servers/exchange/address_books.txt Last modified: 2019/10/31 09:14by 127.0.0.1