• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

set-global addresslist with 2 different custom attribute

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Management >> set-global addresslist with 2 different custom attribute Page: [1]
Login
Message << Older Topic   Newer Topic >>
set-global addresslist with 2 different custom attribute - 19.May2010 4:40:04 AM   
brj

 

Posts: 2
Joined: 2.Dec.2007
Status: offline
Does anyone know how to create a filter with 2 custom attribute values? i used the following command to set the recipient filter

Set-GlobalAddressList –Identity “company GAL” –RecipientFilter {(alias –ne $null –and customattribute1 –eq ‘Company1’)}

but now i need to change it with a second custom attribute1 with the value for example company2. This because i want to add some users to the specific global address list.






Thanx

JRB.
Post #: 1
RE: set-global addresslist with 2 different custom attr... - 7.Feb.2014 9:48:13 AM   
scotth4711

 

Posts: 1
Joined: 7.Feb.2014
Status: offline
-RecipientFilter {((CustomAttribute1 -eq 'HSMS') -and (((CustomAttribute2 -eq 'Faculty') -or (CustomAttribute2 -eq 'Staff'))) -and (Alias -ne $null))}

Feel free to contact me if you need more assistance, but this should give you a foundation to get it to work.

(in reply to brj)
Post #: 2

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Management >> set-global addresslist with 2 different custom attribute Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter