No Windows PowerShell Snap-ins are available for version 1.
hello,As I am getting the error:The specified snap-in 'Microsoft.Exchange.Management.PowerShell.Admin' failed to load.No Windows PowerShell Snap-ins are available for version 1. TestActiveSyncConnectivity --> emgch1 to emgmb1TestImapConnectivity--> emgch2 to emgmb2 Problem DescriptionWhen writing .NET code which uses the System.Management.Automation namespace or using Windows Powershell you may receive the following error when you attempt to load the Exchange Management Shell snap-in."No Windows PowerShell Snap-ins are available for version 1" ResolutionExchange 2007 is only supported on 64-bit Windows and is, itself, a 64-bit application, therefore many of the components including the shell extensions are 64-bit. On a 64 bit version of Windows with Powershell installed there are two versions of Powershell.exe. One is the 32-bit version (found at C:\WINNT\syswow64\windowspowershell\v1.0\powershell.exe) and the other is the 64-bit version (found at C:\WINNT\system32\windowspowershell\v1.0\powershell.exe). The Exchange Management Shell snap-in will only load into the 64-bit Powershell. If you try to load it into the 32-bit Powershell.exe, you get the error message above.Likewise, if you are automating Powershell from an application it must be compiled for 64-bit in order to load the Exchange Management Shell snap-in. %SystemRoot%\sysWOW64\WindowsPowerShell\v1.0\powershell.exe is the 32 Bits version%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe is the 64 Bits versionI am working on a 64 Bits machine, I need to be sure the modules are compiled from C:\WINNT\system32\windowspowershell\v1.0\powershell.exeHow can I be sure of which version is compiled between 32 and 64?Thanks,DomAltiris Support / System Center Configuration Manager Support
August 4th, 2009 9:55pm

Perhaps you can get some clues in Development forum from programmers... Exchange Server TechCenter>Exchange Server Forums>DevelopmentAmit Tank | MVP Exchange Server | MCITP: EMA | MCSA: M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
August 5th, 2009 8:28am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics