Cannot add snapin on Windows 64-bit

Nov 24, 2011 at 8:57 AM

I'm trying to use the PsTFS snapin on Windows 7 64-bit. I have run the installer without any problems, but when I attempt to add the snap-in, I get the following error:

PS C:\Tfs1> add-pssnapin ServerTFSPSSnapin
Add-PSSnapin : The Windows PowerShell snap-in 'ServerTFSPSSnapin' is not installed on this machine.
At line:1 char:13
+ add-pssnapin <<<<  ServerTFSPSSnapin
    + CategoryInfo          : InvalidArgument: (ServerTFSPSSnapin:String) [Add-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

does anyone have any idea how I can resolve this?

Feb 2, 2012 at 2:33 PM

Open "Windows PowerShell (x86)" from your programs menu. You should be able to install the snapin from there.