Topic Last Modified: 2009-04-20
This topic describes how to troubleshoot an error message that you receive when you try to run the Microsoft Exchange Management Shell snap-in in Windows PowerShell or in Microsoft .NET code that uses the System.Management.Automation namespace. In this case, the Exchange Management Shell snap-in does not run, and you receive the following error message:
No Windows PowerShell Snap-ins are available for version 1. |
This error occurs if you try to run the Exchange Management Shell snap-in on a 32-bit version of Windows PowerShell. The Exchange Management Shell snap-in is a 64-bit program, and it requires a 64-bit version of Windows PowerShell. Similarly, .NET code that uses the System.Management.Automation namespace to run the Exchange Management Shell snap-in must be compiled for a 64-bit system.
To resolve this issue, use a 64-bit version of Windows PowerShell to run the Exchange Management Shell snap-in. Or, compile .NET code for a 64-bit system when you use the System.Management.Automation namespace to run the Exchange Management Shell snap-in.
Note: |
---|
Both a 32-bit version and a 64-bit version of
Windows Powershell.exe are installed on the 64-bit
version of Windows when you install Windows PowerShell.
However, only a 64-bit version of the Exchange Management Shell
extensions is installed by
Exchange Server 2007. The 64-bit version of Windows PowerShell is located in the C:\WINNT\Syswow64\Windowspowershell\v1.0\Powershell.exe folder. The 32-bit version of Windows PowerShell is located in the C:\WINNT\System32\Windowspowershell\v1.0\Powershell.exe folder. |