Hi guys,
I'm trying to create a second Global Address list that only contains 2 things. Mailboxes from my domain (not including external contacts that have been made into custom address lists), and also any distribution groups.
I have tried several comands, which all "complete", but show no members.
I've tried this, with all Mailboxes listed with "MyCompany" in the company parameter, and including Distribution Groups.
I have tried this, by specifying "MyCompany" as the value of CustomAtribute1
I have tried many bits of this, even just using a new GAL with just include all ditribution groups, and none of them work.
The only thing I can get to return values is
This would be fine, if I could also add any distribution group that exists to this GAL.
This is driving me nuts.
thanks in advance
Neil J Cotton
I'm trying to create a second Global Address list that only contains 2 things. Mailboxes from my domain (not including external contacts that have been made into custom address lists), and also any distribution groups.
I have tried several comands, which all "complete", but show no members.
I've tried this, with all Mailboxes listed with "MyCompany" in the company parameter, and including Distribution Groups.
Code:
New-GlobalAddressList -Name "NEW GAL" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and (Company -eq 'MyCompany')) -or (RecipientType -eq 'MailUniversalDistributionGroup')}
I have tried this, by specifying "MyCompany" as the value of CustomAtribute1
Code:
New-GlobalAddressList -Name "NEW GAL" -ConitionalCustomAttribute1 "MyCompany" -IncludedRecipients AllRecipients
I have tried many bits of this, even just using a new GAL with just include all ditribution groups, and none of them work.
The only thing I can get to return values is
Code:
New-GlobalAddressList -Name "NEW GAL" -ConditionalCompany "MyCompany" -IncludedRecipients MailboxUsers
This would be fine, if I could also add any distribution group that exists to this GAL.
This is driving me nuts.
thanks in advance
Neil J Cotton