Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Block attachment types - Exchange 2007

Posted on 2008-11-19
Medium Priority
Last Modified: 2012-05-05
We have one exchange 2007 server in our domain that I need to block certain attachment types.

When I run the following command, i get the following error: "Add-AttachmentFilterEntry -Name *.EXE -Type FileName"

The term 'Get-AttachmentFilerEntry' is not recognized as a cmdlet, function, orperable program, or script file.  Verify the term and try again.
At line:1 char:25

It appears that the 'get-attachmentfilterentry' is not a valid command.

I need to put a block on all .exe attachments.  How can I accomplish this?

Question by:cdubbcisco
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
LVL 24

Accepted Solution

andrew_aj1 earned 2000 total points
ID: 22997297
Check out this guide from microsoft:
Hopefully it will help. Good luck.

Expert Comment

ID: 37519726
Hi just tried with the command

Enable-TransportAgent -Identity "Attachment Filtering agent"

On SBS2011 but again I get an error:

[PS] C:\Windows\system32>Enable-TransportAgent -Identity "Attachment Filter Agent"
Transport agent "Attachment Filter Agent" isn't found.
Parameter name: Identity
    + CategoryInfo          : InvalidArgument: (:) [Enable-TransportAgent], ArgumentException
    + FullyQualifiedErrorId : 787F298B,Microsoft.Exchange.Management.AgentTasks.EnableTransportAgent

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
In this video we show how to create a Contact 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 Recipients >> Contact ta…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses

730 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