- Trên MS365 admin => Add Contact
- Thêm Contact đó vào group
Chỉnh sửa group động: sử dụng Exchange Shell, mẫu:
Set-DynamicDistributionGroup "all@xxxx" -RecipientFilter "((RecipientType -eq 'UserMailbox') -or (PrimarySmtpAddress -eq 'nctt@xxxx')) -and (HomePhone -ne 'ExcludeFromGroupAll') -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'PublicFolderMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuditLogMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'AuxAuditLogMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'SupervisoryReviewPolicyMailbox'))"
No comments:
Post a Comment