Link to home
Start Free TrialLog in
Avatar of KANEWONG
KANEWONG

asked on

add-AttachmentFilterEntry not found in Exchange 2007 SP1

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.
Avatar of LegendZM
LegendZM
Flag of United States of America image

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.
Avatar of KANEWONG
KANEWONG

ASKER

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?
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
I have one Exchange 2007 server only which is maibox role, client role and hub role.  can I add the Edge role back?
ASKER CERTIFIED SOLUTION
Avatar of LegendZM
LegendZM
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks!