Невозможно добавить фильтруемое свойство в DynamicDistributionGroup -RecipientFilter - PullRequest
0 голосов
/ 07 августа 2020

Проблема в том, что один пользователь хочет быть частью группы рассылки, но он находится в другой стране. Правила применяются через PowerShell. Я просто хочу добавить одного пользователя, который должен быть частью этой группы. Я добавил «-and (Email -eq 'name. surname@mycomany.com')», но мне кажется, что я получаю «« Email »не является распознанным фильтруемым свойством.»

Я пытался найти это в Google, но пока не повезло. Здесь есть мозги. : (

Set-DynamicDistributionGroup -identity “Group Name” -RecipientFilter “((((((((((((((((((((((RecipientTypeDetails -eq 'UserMailbox') -and (((City -eq 'City') -and (Email -eq 'name.surname@mycomany.com') -or (City -eq 'Berlin'))))) -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')))) -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')))”
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...