Questions tagged [tfs-power-tools]

Team foundation server power tools is a set of tools that allow you to manipulate the TFS server from the command line, it also allows you access to many features that cannot be accessed from the gui.

176 questions
0
votes
1 answer

Team foundation client command to reset workspace

Is there a command (or series of commands) to sync a TFVC workspace with the server, ensuring that what's on disk exactly matches what's checked in to the server. tf vc scorch almost does what's needed, in that it syncs the client workspace with…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
0
votes
1 answer

Unshelving to new branch using TFS Power Tools 2015 merges content into source, not target

I ran the command tfpt unshelve /migrate /source:$/Dev/MyBranch /target:$/Main from the root project folder containing all branches, taking care to undo all pending changes—both included and excluded—in the source and target branches first. As…
0
votes
1 answer

Count Projects in TFS

I use Visual Studio 2015 and Team Foundation Server 2017. I wonder if there's a solution to know: How many projects are currently there in TFS? Where can I find these information?
0
votes
1 answer

How to get list of Stored Queries using TFPT from Command Line or bat file

Is there a way to get a list of stored queries using TFPT in VS 2013? I tried things like this, but that does not work. tfpt.exe query /include:data "xxx\Shared Queries\Releases\*" /collection:http://tfs2013 Result is "The stored query could not be…
RGuggisberg
  • 4,630
  • 2
  • 18
  • 27
0
votes
1 answer

How can i programmatically change the location of the working folder?

I'm using the .NET libraries provided by Microsoft for interaction with Visual Studio Team Services. I want to be able to change the local path of the working folder without using Team Foundation Power Tools or Visual Studio, only using the class…
0
votes
1 answer

TFS Shell Extension Policy Failure

Whenever I use the TFS Windows Shell Extension to check a file in, it pops up a window asking me to provide the description for the changeset. But when I click OK, it gives me another warning dialog that says Policy Failure Checkin cannot…
dwilliss
  • 862
  • 7
  • 19
0
votes
1 answer

Does Add-TFSPendingChange requires some setup to work in a multi-workspace environment?

Using the powershell command Add-TFSpendingChange from TFS 2015 Power Tools I face the following behavior: Add-TFSPendingChange c:\source\Folder1\docs -Edit In a computer with one workspace the command check-out the item that is passed as…
XtianGIS
  • 967
  • 16
  • 39
0
votes
1 answer

Running PSAKE script from the command line

I'm creating a batch file to execute my psake builds while integrating with teamcity and the TFS Powershell commandlets from TFPT and have come up with the following: @ECHO OFF SET COMMAND_TO_EXECUTE= SET COMMAND_TO_EXECUTE=%COMMAND_TO_EXECUTE% "&…
Jimit
  • 765
  • 2
  • 10
  • 18
0
votes
1 answer

How to query Visual Studio Team Services (was VSO) using Microsoft.TeamFoundation.PowerTools.PowerShell cmdlets

I am unable to run any of the PowerShell cmdlets provided with TFS 2013 Power Tools against a Team Services account. Problematic commands include Get-TfsItemHistory and Get-TfsChangeset. These work fine with non-hosted instances of TFS but not Team…
0
votes
1 answer

PowerShell Command has output when used in a prompt, but not when used in a script (Update-TfsWorkspace)

I am working with the PSSnapin Teamfoundation.PowerShell, specifically with the cmdlet, Update-TfsWorkspace. I am attempting to script and automate a process involving getting the latest content from TFS. When I use the command: Update-TfsWorkspace…
0
votes
1 answer

Does TFS VSO supports the use command line for Windows Server 2003?

I tried looking it all over the internet but I did not find the answer. can anyone tell me. I was wondering if we can use the command line for the TFS in windows server 2003.
0
votes
2 answers

Translate TFS work item types to another language

Is it possible to translate work items to another language? for example change the field "Area Path" in a PBI to our language (Hebrew) "אזור", so the resulting xml would look something like this:
ashilon
  • 1,791
  • 3
  • 24
  • 41
0
votes
1 answer

Using TFS 2015 Power Tools for Workspace Templates

Has anyone managed to use the Create Workspace from Template with a local path value replacement working? I have set the local folder to C:\ROOT\ and then entered a folder name in the Local Path field when creating a workspace but it always creates…
John Corker
  • 192
  • 1
  • 10
0
votes
1 answer

TFPT.EXE CreateTeamProject - TF30155: Error occurred while trying to create project

I am using the command - tfpt.exe createteamproject /collection:url /teamproject:"Projectname" /processtemplate:CMMI /noportal from command prompt to create a new Team project in Visual Studio Team services(VSTS). In VSTS I have created a free…
0
votes
1 answer

Visual studio 2013: Difference in annotations between GUI and TFS power tools command line

I'm trying to implement a "blame" mechanism for my team's project. To do this, I've created a program which, through power tools, gets the specific changeset for each line of code in a file: private readonly Regex changeSetRegex = new…
Jimmy Lee Jones
  • 785
  • 4
  • 18