Link to home
Start Free TrialLog in
Avatar of Ksoland
Ksoland

asked on

Set-GlobalAddressList in "Hosted Exchange"

I have a Exchange 2007 server that i use as "hosted" server.

That means that i have multiple domains on one server, and using this guide: http://www.kortekservices.com/lyle/ to set up the "hiding game" as it is called.

After i have created the new "Global address List" i try to use this command:

Set-GlobalAddressList Identity xxx RecipientFilter {(alias ne $null and customattribute1 eq xxx)}

Then the server tells me this message:
Set-GlobalAddressList : Cannot bind parameter 'RecipientFilter' to the target.
Exception setting "RecipientFilter": """ is not a valid operator. For a list of
 supported operators see the command help.
"(alias -ne $null -and customattribute1 -eq 'XXXX'')" at position 8."
At line:1 char:55
+ Set-GlobalAddressList -Identity "XXXX" -RecipientFilter  <<<< {(alias -ne $nul
l -and customattribute1 -eq 'XXXX')}

Can sombody tell me what i have done wrong?
Avatar of Robin Human
Robin Human
Flag of South Africa image

Don't know for sure, but it looks like the recipient filter value should not be a null value
Suggest you start by looking there - set-globaladdresslist help for the recipient filter value options

ASKER CERTIFIED SOLUTION
Avatar of Ksoland
Ksoland

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial