New-AddressList -Name "PROMOUTER_ADR" -RecipientFilter {((RecipientType -eq 'UserMailbox') -or (RecipientType -eq "MailUniversalDistributionGroup") -or (RecipientType -eq "DynamicDistributionGroup")) -and (title -eq "Промоутер")} New-AddressList -Name PROMOUTER_Room -RecipientFilter {(Alias -ne $null) -and (title -eq "Промоутер")-and (RecipientDisplayType -eq 'ConferenceRoomMailbox') -or (RecipientDisplayType -eq 'SyncedConferenceRoomMailbox')} New-GlobalAddressList -Name "GAL_PROMOUTER" -RecipientFilter {(title -eq "Промоутер")} New-OfflineAddressBook -Name "OAB_PROMOUTER" -AddressLists "GAL_PROMOUTER" New-AddressBookPolicy -Name "ABP_PROMOUTER" -AddressLists "PROMOUTER_ADR" -OfflineAddressBook "\OAB_PROMOUTER" -GlobalAddressList "\GAL_PROMOUTER" -RoomList "\PROMOUTER_Room" Get-Mailbox -resultsize unlimited | where {$_.title -eq "Промоутер"} | Set-Mailbox -AddressBookPolicy "ABP_PROMOUTER"
AdressBookPolicy exchange 2013
Добавить комментарий