Solved

add-AttachmentFilterEntry not found in Exchange 2007 SP1

Posted on 2008-06-20
6
1,001 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

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…
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create a Shared 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 >> Sha…
To show how to generate a certificate request 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 Servers >> Certificates…

830 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