I ve installed TFS Power Tools 2008 along with its PowerShell integration features on my Windows 2008 R2 developer machine.
When I try to run the following command to enable the snapin:
Add-PSSnapin Microsoft.TeamFoundation.PowerShell
in the 32-bit version of PowerShell.exe, under C:WindowsSysWOW64WindowsPowerShellv1.0powershell.exe it works fine. But when I try to do the same in the 64-bit version here: C:Windowssystem32WindowsPowerShellv1.0powershell.exe I get the following error:
Add-PSSnapin : The Windows PowerShell snap-in Microsoft.TeamFoundation.PowerShell is not installed on this machine.
At line:1 char:13
+ Add-PSSnapin <<<< Microsoft.TeamFoundation.PowerShell
+ CategoryInfo : InvalidArgument: (Microsoft.TeamFoundation.PowerShell:String) [Add-PSSnapin], PSArgument
Exception
+ FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand
Any idea how to make it work in the 64-bit version? Thanks in advance.