Solved

add-AttachmentFilterEntry not found in Exchange 2007 SP1

Posted on 2008-06-20
6
957 Views
Last Modified: 2008-06-23
Hi;

I just installed Exchange 2007 with SP1, I tried to enter the following command in Exchange Management Shell but it said they are not the recognized cmdlet.  This command works when I used the Trial version, if the Exchange Management Shell come with SP1 is not good.

add-AttachmentFilterEntry -name *.bat -type FileName
add-AttachmentFilterEntry -name *.exe -type FileName
add-AttachmentFilterEntry -name *.cmd -type FileName

I want to block this file type from Exchange 2007.
0
Comment
Question by:KANEWONG
  • 3
  • 3
6 Comments
 
LVL 15

Expert Comment

by:LegendZM
ID: 21835879
If you just load up powershell then it won't work, you need to launch the exchange power shell from the start menu.

confirm that you've loaded the proper shell, if still experiencing the problem, let me know.
0
 
LVL 1

Author Comment

by:KANEWONG
ID: 21836010
I was using Exchange Management Shell which was found in the All Programs.  Is there any Exchange Management Shell can be download again for installation on my Exchange 2007 SP1 64-bit production copy?
0
 
LVL 15

Expert Comment

by:LegendZM
ID: 21836537
No... You're using the right one... How many exchange edge servers do you have?

the command can only be used on an Edge Transport server I believe:

Use the Add-AttachmentFilterEntry cmdlet to add an entry to the attachment filter list on a computer that has the Edge Transport server role installed.

http://technet.microsoft.com/en-us/library/bb123931(EXCHG.80).aspx
0
How does your email signature look on mobiles?

Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

 
LVL 1

Author Comment

by:KANEWONG
ID: 21847378
I have one Exchange 2007 server only which is maibox role, client role and hub role.  can I add the Edge role back?
0
 
LVL 15

Accepted Solution

by:
LegendZM earned 250 total points
ID: 21847539
No, you cannot add the Edge role to it.  An edge server is to be placed in a DMZ, and not joined to the domain. Think of the Edge as the gateway server for mail going outside of your domain.

However, you can configure the HUB for anti spam agents, just not attachment filtering.

http://www.exchangepedia.com/blog/2006/09/how-to-install-anti-spam-agents-on-hub.html

Attachment Filtering is not available on Hub Transport servers
0
 
LVL 1

Author Comment

by:KANEWONG
ID: 21847725
thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a User Mailbox 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 >> Mailb…
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

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now