Solved

add-AttachmentFilterEntry not found in Exchange 2007 SP1

Posted on 2008-06-20
6
1,018 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 16

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 16

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
Does Powershell have you tied up in knots?

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

 
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 16

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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 an Accepted Domain 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 Mail Flow >> Ac…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

630 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