Exchange New-AddressList Move-AddressList 建立移動通訊清單
建立後移動
New-AddressList -Name "01.分院榮譽院長" -RecipientFilter {((RecipientType -eq 'UserMailbox') -a
nd ((CustomAttribute1 -like '分院榮譽院長') -or (CustomAttribute6 -like '分院榮譽院長') -or (CustomAttribute7 -like '分
院榮譽院長')))}
Move-AddressList -Identity 01.分院榮譽院長 -Target '\B.依主管職稱\A2.合作醫院與分院'
直接建立
New-AddressList -Name "\B.依主管職稱\A2.合作醫院與分院\01.分院榮譽院長" -RecipientFilter {((RecipientType -eq 'UserMailbox') -a
nd ((CustomAttribute1 -like '分院榮譽院長') -or (CustomAttribute6 -like '分院榮譽院長') -or (CustomAttribute7 -like '分
院榮譽院長')))}
移動
Move-AddressList -Identity "\C.總院\4.行政部門\體系營運中心\國際醫療中心" -Target "\C.總院\4.行政部門"
沒有留言:
張貼留言