Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PowerShell commands for the Exchange 2007 Edge server role do not work as expected after you uninstall an update rollup or an interim update on the Edge server


View products that this article applies to.

Symptoms

You uninstall an update rollup or an interim update on a Microsoft Exchange Server 2007 Edge server. Then, PowerShell commands that are used for the Edge server role do not work as expected. For example, you may receive the following error message when you run the Get-AttachmentfilterListConfig cmdlet:
The term 'Get-AttachmentfilterListConfig' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again.
At line:1 char:30
+ Get-AttachmentfilterListConfig <<<<

↑ Back to the top


Cause

This problem occurs because the uninstallation process incorrectly resets the CustomPSSnapInType registry entry.

↑ Back to the top


Workaround

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756� How to back up and restore the registry in Windows
To have us work around this problem for you automatically, go to the "Fix it for me" section. If you prefer to work around this problem yourself, go to the "Let me fix it myself" section.

Fix it for me

To work around this problem automatically, click the Fix this problem link. Then, click Run in the File Download dialog box and follow the steps in this wizard.


Fix this problem
Microsoft Fix it 50336


Note this Fix it solution works for all languages. However, for some languages, the wizard text may be in English

Note if you are not on the computer that has the problem, save the Fix it solution to a flash drive or a CD and then run it on the computer that has the problem.

Let me fix it myself

To work around this problem yourself, follow these steps:
  1. On the Exchange 2007 Edge server, click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.Powershell.Admin
  3. Right-click the CustomPSSnapInType registry entry, and then click Modify.
  4. Examine the Value data box. If the value is Microsoft.Exchange.Management.PowerShell.AdminPSSnapIn, change it to the following entry, and then click OK:
    Microsoft.Exchange.Management.PowerShell.EdgePSSnapIn
  5. Exit Registry Editor.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about the Get-AttachmentfilterListConfig cmdlet, visit the following Microsoft TechNet Web site:

↑ Back to the top


Keywords: KB949536, kbprb, kbtshoot, kberrmsg, kbexpertiseinter, kbfixme, kbmsifixme

↑ Back to the top

Article Info
Article ID : 949536
Revision : 3
Created on : 9/10/2011
Published on : 9/10/2011
Exists online : False
Views : 312