Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1704
  • Last Modified:

Exchange 2010 Server Restriction Filter Scope for RBAC

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
queens2007
Asked:
queens2007
  • 2
1 Solution
 
queens2007Author Commented:
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
 
queens2007Author Commented:
Not even one experts-exchange expert looked at this query... Very very poor.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now