Dynamic Distribution Group Filters in Exchange 2007

I’ve been working on created an Exchange 2007 Dynamic Distribution Group (DDG). I struggled with the syntax for some time, but finally found the answer.

My goal was to create a DDG that included all users in one building, but filtered out all resource mailboxes.

My problem was that I originally tried to add the -not IsResource to the end of the statement.
I finally found the syntax on a blog that I couldn’t read, but the syntax was in English.

http://blogger.umoeitet.no/RogerE/archive/2009/04/23/hvordan-lage-dynamiske-distribusjonsgrupper-i-exchange-2007.aspx

Here is the syntax I used:

New-DynamicDistributionGroup -Name “ListName” -OrganizationalUnit “domain.local/Exchange Objects/Distribution Groups” -RecipientFilter {-not(IsResource -eq $true) -and (RecipientType -eq ‘UserMailbox’ -and office -like ‘A*’ -or office -like ‘B*’ -or office -like ‘C*’)}

New-DynamicDistributionGroup (Creates new DDG)
-Name “ListName” (Sets the name of the list
-OrganizationalUnit “domain.local/Exchange Objects/Distribution Groups” (Specifies the OU in which to create the list.)
-RecipientFilter (Filters Recipients)
{-not(IsResource -eq $true) ( filters out resource mailboxes)
-and (RecipientType -eq ‘UserMailbox’ (filters UserMailboxes
-and office -like ‘A*’ -or office -like ‘B*’ -or office -like ‘C*’ (Filters in users that are in wing A,B,C)

 

Microsoft Standalone System Sweeper

A friend of mine, @TechLifeWeb, recommended this product. Looks interesting.

The website states: “…a recovery tool that can help you start an infected PC and perform an offline scan to help identify and remove rootkits and other advanced malware. In addition, Microsoft Standalone System Sweeper Beta can be used if you cannot install or start an antivirus solution on your PC, or if the installed solution can’t detect or remove malware on your PC.”

Find it Here: http://connect.microsoft.com/systemsweeper

How to reclaim space after applying Windows 7/2008 R2 Service Packs

dism /online /cleanup-image /spsuperseded

More details here: http://blogs.technet.com/b/joscon/archive/2011/02/15/how-to-reclaim-space-after-applying-service-pack-1.aspx

WHS: Duplicate File Finder for Windows Home Server

WHS: Duplicate File Finder for Windows Home Server

Requires a small fee, but seems very useful.

WHS Vail Preview Refresh Now Available, with Mac Support

WHS Vail Preview Refresh Now Available, with Mac Support

Categories