Exchange online 自訂通訊清單

Exchange online 自訂通訊清單

https://channel9.msdn.com/Series/Office-365-jumpstart-faq/faq12

image

 

image

 

image

 

image

 

image

 

image

 

 

image

New-AddressList -Name "高雄分公司" -RecipientFilter {((RecipientType -eq ‘UserMailbox’) -and (Department -eq ‘高雄分公司’))}

image

通訊清單

image

 

image

O365 群組

image

通訊群組

image

C:\Users\Administrator\Desktop> Get-DistributionGroup | FL name,customattribute1

image

image

New-AddressList -Name "台中分公司" -RecipientFilter {((ObjectClass -eq ‘group’) -and (Name -eq ‘KS0YT0’))}

image

New-AddressList -Name "展碁國際股份有限公司" -RecipientFilter {((ObjectClass -eq ‘group’) -and (customattribute1 -eq ‘Weblink’))}

Get-AddressList –Identity "台中分公司"

New-AddressList -Name "展碁國際股份有限公司" -RecipientFilter {((ObjectClass -eq ‘group’) -and (Name -eq ‘KS0YT0’)) or ((ObjectClass -eq ‘group’) -and (Name -eq ‘ks0zv0’))} 不 work

—————————————- OK —————————————————

 

 

New-AddressList -Name "展碁國際股份有限公司" -RecipientFilter {((ObjectClass -eq ‘group’) -and (customattribute1 -eq ‘Weblink’))}

image

 

Get-DistributionGroup | FL name,customattribute1

image

Get-DistributionGroup –Identity "KS0YT0"

Get-DistributionGroup –Identity "KS0YT0" | Set-DistributionGroup –customattribute1 "Weblink"

Get-DistributionGroup –Identity "ks0zv0" | Set-DistributionGroup –customattribute1 "Weblink"

Get-DistributionGroup | FL name,customattribute1

image

 

image

 

image

 

image

 

image

———————————————————————————————————-

image

image

 

image

 

image

 

image

 

image

 

image

 

image

 

image

 

用以下參數進行修改,就會有階層區分

Set-AddressList –identity “xxx”–Container “上一層的名稱”

Set-AddressList –identity “台北資訊技術處”–RecipientContainer “台北總公司”

New-AddressList -Name 台北總公司

New-AddressList -Name 軟體事業處 -Container 台北總公司

New-AddressList -Name IT -RecipientFilter {((RecipientType -eq ‘UserMailbox’) -and (Department –eq ‘高雄分公司’))}  -Container \台北總公司\軟體事業處

https://technet.microsoft.com/en-us/library/aa998847(v=exchg.141).aspx

 

1. 通訊清單在架構上,是要先有架構,後續才同步帳號或是建立帳號,對應到實際的流程,清單存在時,後續新建立的使用者帳號,都會自動進來,因為帳號建立時,就已經異動屬性

2. Update的部分建議可以用admodify的工具,進行一次性的更新,不過如果透過AD 內建的powershell也是可以達到相同需求

ADModify的工具

https://admodify.codeplex.com/

ADModify的相關步驟

http://www.msexchange.org/articles-tutorials/exchange-server-2003/tools/ADModify-Change-Exchange-Specific-AD-User-Attributes.html

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *