Solved

Exchange 2010 Server Restriction Filter Scope for RBAC

Posted on 2012-03-16
4
1,681 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This video discusses moving either the default database or any database to a new volume.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

717 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