?
Solved

Exchange 2010 Server Restriction Filter Scope for RBAC

Posted on 2012-03-16
4
Medium Priority
?
1,687 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

743 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