Question : Powershell Syntax for Exchange 2007

Hello,

I'm trying to run the following command:

Set-Addresslist "$clientname AL" -recipientfilter { emailaddresses -like $clientEmailDomain } -forceupgrade

...except with multiple values for the recipient filter (email address is like @ADomain.com OR @BDomain.com). How do I do that? Any help is appreciated!

thanks!

Answer : Powershell Syntax for Exchange 2007

depending on how you get all of the domains for the client you could use

Set-AddressList "Client Address List" -RecipientFilter { emailaddresses -like "fabrikam.com" -or emailaddresses -like "contoso.com" }
Random Solutions  
 
programming4us programming4us