Solved

Dynamic Distribution Group recipient filter

Posted on 2014-11-18
1
60 Views
Last Modified: 2015-09-25
I need to create a recipient filter that on gets users that have a certain Office value and a certain Title but it will be several specific office values and several title values.   ie: 3102-nashville or 3104 Smyrna  with the title of plant mgr or operations mgr or mgr  I have this so far but it is including any one with the titles listed

-RecipientFilter {((Office -eq '7120 - LKQ Delaware LLP' -or (Office -eq '7142 - LKQ Sonshine Auto Parts') -or (Office -eq '7145 - LKQ M Robert') -or (Office -eq '7160 - Lecavalier - Saint-Sophie,QC') -or (Office -eq '7161 - Lecavalier - St-Jean-sur-Richelieu,QC') -or (Office -eq '7162 - Lecavalier - Laval,QC') -or (Office -eq '3256 - Montreal, QC (#256)') -or (Office -eq '3257 - Ste. Madeleine, QC (M Robert)') -or (Office -eq '3260 - Sherbrooke, QC (#260)') -and ((Title -eq 'Category Manager') -or (Title -eq 'PBE Branch Mgr')-or (Title -eq 'Plant Mgr') -or (Title -eq 'Yard Mgr') -or (Title -eq 'Office Mgr') -or (Title -eq 'Warehouse Mgr') -or (Title -eq 'Sales Mgr - Inside Sales') -or (Title -eq 'Sr VP Human Resources') -or (Title -eq 'Product Support Mgr') -or (Title -eq 'VP Operations') -or (Title -eq 'Regional Sales Mgr') -or (Title -eq 'Inventory Mgr - E') -or (Title -eq 'Purchasing Mgr'))}
0
Comment
Question by:McLovin
1 Comment
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 500 total points
ID: 40450985
I think its because you have not closed the condition for Office value. You have missed the last brace while ending Office conditions

-RecipientFilter {((Office -eq '7120 - LKQ Delaware LLP') -or (Office -eq '7142 - LKQ Sonshine Auto Parts') -or (Office -eq '7145 - LKQ M Robert') -or (Office -eq '7160 - Lecavalier - Saint-Sophie,QC') -or (Office -eq '7161 - Lecavalier - St-Jean-sur-Richelieu,QC') -or (Office -eq '7162 - Lecavalier - Laval,QC') -or (Office -eq '3256 - Montreal, QC (#256)') -or (Office -eq '3257 - Ste. Madeleine, QC (M Robert)') -or (Office -eq '3260 - Sherbrooke, QC (#260)')) -and ((Title -eq 'Category Manager') -or (Title -eq 'PBE Branch Mgr')-or (Title -eq 'Plant Mgr') -or (Title -eq 'Yard Mgr') -or (Title -eq 'Office Mgr') -or (Title -eq 'Warehouse Mgr') -or (Title -eq 'Sales Mgr - Inside Sales') -or (Title -eq 'Sr VP Human Resources') -or (Title -eq 'Product Support Mgr') -or (Title -eq 'VP Operations') -or (Title -eq 'Regional Sales Mgr') -or (Title -eq 'Inventory Mgr - E') -or (Title -eq 'Purchasing Mgr'))}
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

803 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