Solved

Exchange 2010 Server Restriction Filter Scope for RBAC

Posted on 2012-03-16
4
1,653 Views
Last Modified: 2012-06-27
Hi there,
I am having some issue passing through multiple values for a powershell comand to create a new exchange 2010 server write scope.

This is the scope I am trying to create: (Sites are X, Y, Z)
New-ManagementScope -Name "Exchange Servers" -ServerRestrictionFilter { ServerSite -eq 'CN=X,CN=Sites,CN=Configuration,DC=domain,DC=com' -OR 'CN=Y,CN=Sites,CN=Configuration,DC=dmain,DC=com' -OR 'CN=Z,CN=Sites,CN=Configuration,DC=domain,DC=com' }

If I use only X, (say 1 site) it works, but I need to tie in at least 3 sites into the scope.
Any help would be appreciated.
0
Comment
Question by:queens2007
  • 2
4 Comments
 

Accepted Solution

by:
queens2007 earned 0 total points
ID: 37751658
Thanks to all the 1000s of proffessionals that had a look at this....hmmm, right, but I have sorted this out myself.

The filter is:

New-ManagementScope -Name "Exchange Servers" -ServerRestrictionFilter { (ServerSite -like “CN=X,CN=Sites,CN=Configuration,DC=domain,DC=com”) –or (ServerSite –like “CN=Y,CN=Sites,CN=Configuration,DC=dmain,DC=com”) -or (ServerSite –like “CN=Z,CN=Sites,CN=Configuration,DC=domain,DC=com”) }
0
 

Author Closing Comment

by:queens2007
ID: 37751663
Not even one experts-exchange expert looked at this query... Very very poor.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
The viewer will learn how to count occurrences of each item in an array.
how to add IIS SMTP to handle application/Scanner relays into office 365.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now