-1

I tried to execute Add-PSSnapin Microsoft.TeamFoundation.PowerShell on PowerShell and it responded with the following error:

Any idea on how to restore back the Microsoft.TeamFoundation.PowerTools.PowerShell.dll file?

enter image description here

LuidonVon
  • 443
  • 6
  • 20
  • Related: http://stackoverflow.com/questions/35292971/tfs-build-microsoft-teamfoundation-powershell-is-not-installed-on-this-comput – David Brabant Apr 20 '17 at 12:04
  • It would be helpful to add the error message as text rather than a screenshot as it makes it more googlable in the future. – Mark Wragg Apr 20 '17 at 14:11

1 Answers1

0

This issue is due to TFS Powertools is not installed fully. By default it doesn’t install the PS cmdLets.

More details take a look at this blog. For VS2010, you need to use this version Team Foundation Server Power Tools December 2011

PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62