TFS Powershell cmdlet not working in ISE

I cannot run the following command in PowerShell ISE, but this exact same command works fine in a regular Powershell console.

  Get-TfsServer -name http: // mytfsserver: 8080 

I tried to add snap-in from the ISE console, but that didn't help. I even added it to the Script panel in ISE, but that didn't help.

I work on Win8 and TFS Power Tools 2012.

Any ideas?

+4
source share
2 answers

This may be a bandage problem. IIRC - TFPT PowerShell Module - x86 only. It may work in the x86 PowerShell console, but it does not work in the 64-bit ISE.

0
source

I hope you added pssnapin microsoft.teamfoundation.powershell to PowerShell ISE ..

ISE must be x64 bit. Since this snapin only works in x64 bit.

We do not have any command for checking the bitness. but when you open ISE itself, it will show bitt (if it's x86.)

x64 bit ISE will not show the bit version.

kudos

0
source

All Articles