title: How to install PowerShell commandlets for TFS on a machine with Visual Studio 2017
body: <p>I have some PowerShell scripts that work with TFS. I used to have a Visual Studio 2015 with PowerTools installed, so that was working fine. </p>
  
  <p>I now have a new machine with Visual Studio 2017 and I cannot install commandlets using PowerTools deployment. What are my options? </p>
  
  <p>Installing VS 2015 is not an option for me (also, not a long-term solution).</p>
  
  <p>I have tried:</p>
  
  <pre><code>Add-PSSnapin Microsoft.TeamFoundation.PowerShell
  </code></pre>
  
  <p>but getting an error that Microsoft.TeamFoundation.PowerShell is not installed.
  Trying to install it, get an error that module was not found.</p>
  
  <pre><code> Install-Module  Microsoft.TeamFoundation.PowerShell
  </code></pre>
  
  <p>Is there any way to install this without installing VS 2015?</p>