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?
KsolandAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobinHumanCommented:
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

0
KsolandAuthor Commented:
My problem is that I have just followed the The Hiding Game manual, so I dont really know what the command stands for. I hoped somebody could tell me that ;)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.