Todd Mostowy
asked on
modify Exchange Dynamic Dist List using EMS to ignore hidden mailboxes
So I need to tell all my dynamic dist lists to ignore hidden mailboxes. I ran these tests. Below, #1 did not work, #2 did (for creation). See #3 below and help me get the correct syntax to change a dynamic distribution list using the parameters that are detailed in #2 below
(1) **DID NOT WORK**
New-DynamicDistributionGro up -Name "tgmtest3" -OrganizationalUnit 'mydomain.com/Americas/Gro ups/Distri bution' -RecipientContainer mydomain.com -RecipientFilter { recipienttype -eq 'usermailbox' -and HiddenfromAddresslistsEnab led -eq $false}
(2) ** This works**
New-DynamicDistributionGro up -Name "tgmtest4" -OrganizationalUnit 'mydomain.com/Americas/Gro ups/Distri bution' -RecipientContainer mydomain.com -RecipientFilter { recipienttype -eq 'usermailbox' -and -not(HiddenfromAddresslist sEnabled -eq $true)}
(3) ** What should this format be? ** - I can toggle like below and it says it is successful, but FALSE is not correct
Set-DynamicDistributionGro up -Identity 'tgmtest3' -HiddenfromAddresslistsEna bled $false
Set-DynamicDistributionGro up -Identity 'tgmtest3' -HiddenfromAddresslistsEna bled $true
Please help me. I have been on this task all morning and it only should have taken me a minute.
- Stowy
(1) **DID NOT WORK**
New-DynamicDistributionGro
(2) ** This works**
New-DynamicDistributionGro
(3) ** What should this format be? ** - I can toggle like below and it says it is successful, but FALSE is not correct
Set-DynamicDistributionGro
Set-DynamicDistributionGro
Please help me. I have been on this task all morning and it only should have taken me a minute.
- Stowy
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.