Solved

add-AttachmentFilterEntry not found in Exchange 2007 SP1

Posted on 2008-06-20
6
1,010 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
[X]
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
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
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…
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
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

734 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