-
If you are not the TFS team project collection administrator, make sure that you have been added as an agent pool administrator at
All Poolslevel. For more information, see Agent pools. -
Download the attached PowerShell script VsTest-2.157.3.ps1.
-
On one your TFS Application Tiers, open a PowerShell console, and then change the current location to the directory where you downloaded the .ps1 file in step 2.
-
To verify that your execution policy allows for the execution of installation scripts, run the following command line:
Set-ExecutionPolicy Unrestricted -Scope Process -Force- From a TFS Application Tier, run the installation script against your TFS collection, as follows:
.\VsTest-2.157.3.ps1 -CollectionUrl http://myserver:8080/tfs/DefaultCollection