• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1673
  • Last Modified:

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?
0
Ksoland
Asked:
Ksoland
1 Solution
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now