Solved

Exchange 2010 Server Restriction Filter Scope for RBAC

Posted on 2012-03-16
4
1,678 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to install and use the NTBackup utility that comes with Windows Server.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
This video discusses moving either the default database or any database to a new volume.

738 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