how to edit Global Address List Recipient filter
Posted on 2013-05-22
Can someone assist me with my powershell syntax...
When we create new GAL's for each client on our Exchange 2010 system we run the following powershell script...
New-GlobalAddressList -Name "ClientX - GAL" -ConditionalCustomAttribute1 "ClientX" -IncludedRecipients MailboxUsers,MailGroups -RecipientContainer "domain.local/clients/ClientX"
We use this as we find clients like to see all users and distribution groups in the same place when they look at the address book in Outlook. They moan when they have to navigate through to the folders in the tree on the left... *sigh* users will be users.
They have now asked us to add some Mail Contacts to the same place
So my question is this.. how to I edit the GAL to add the filter to include mailcontacts too?
I'm guessing I need to start with get-GlobalAddressList "ClientX - Gal".
I'm just unsure of the command to add the mailcontacts recipient filter.