Exchange online 自訂通訊清單
Exchange online 自訂通訊清單
https://channel9.msdn.com/Series/Office-365-jumpstart-faq/faq12
New-AddressList -Name "高雄分公司" -RecipientFilter {((RecipientType -eq ‘UserMailbox’) -and (Department -eq ‘高雄分公司’))}
通訊清單
O365 群組
通訊群組
C:\Users\Administrator\Desktop> Get-DistributionGroup | FL name,customattribute1
New-AddressList -Name "台中分公司" -RecipientFilter {((ObjectClass -eq ‘group’) -and (Name -eq ‘KS0YT0’))}
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’))}
Get-DistributionGroup | FL name,customattribute1
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
———————————————————————————————————-
用以下參數進行修改,就會有階層區分
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的相關步驟
近期留言