tfs-power-tools

Copy files from tfs versioncontrol to directory with PowerShell

霸气de小男生 提交于 2019-11-28 10:25:21
Does somebody know if it is possible to Copy files from TFS (2013 Update 2) source control to a specific folder on your computer? Let's say I have the server path $/BuildTemplate2013/BuildProcessSource and I want all the files of that directory to be copied/downloaded to C:\destinationDir with PowerShell. Is that possible? I have the TFS 2013 Update 2 Power tools installed but I can't find any command for that... I've created a PowerShell script that connects to the TFS server with the TFS assemblies. I then loop through the files on the server (in a specific path) and download it recursively.

TFS 2012 Unshelve to different branch -> An item with the same key has already been added

戏子无情 提交于 2019-11-28 03:05:41
问题 I need help resolving the following issue: I am attempting to unshelve code from the source branch onto a target branch. I am using the following: VS2012 RC TFS 2012 VS2012 x64 Cross Tools Command Prompt When I use the command prompt to perform the unshelve operation, the following occurs: Shelveset details dialog gets displayed with list of change files. Click Unshelve button. Observe command prompt output: "An item with the same key has already been added." I have downloaded ServicePack1

Get Latest Version of Folder from TFS, using Powershell

为君一笑 提交于 2019-11-28 00:38:48
问题 I am trying to " Get Latest Version " of a particular folder from TFS, using Powershell. I have installed the TFS Snappin, and have been using TFS Power Tools cmdlets in PowerShell (such as Get-TfsChildItem and Select-TfsItem etc) [How do I set up TFS PowerShell Snapin ], and have gone through their documentation (which I didn't find explanatory enough!). Confused, on the exact cmdlet to use, when I am trying to get the latest version of an entire Folder structure from TFS, that is mapped to

TFS Power Tools: Shell Extension : Context Menu Quirky and TFS Icons on Files/Folders missing

≡放荡痞女 提交于 2019-11-27 20:24:25
I've used TFS Power Tools on a daily basis for several months. I particularly depend on Windows Shell Extension. For about a week now, two issues have come up: Issue 1 Every time I enter a directory under TFS control, I have to right-click twice to see the TFS context menu Issue 2 My pretty TFS Green indicators on files/folders are gone: I've downloaded and reinstalled the Power Tools, but I still have these two issues. Any thoughts on how to fix this? **UPDATE** Dave gave me the answer via link. Just in case that link goes bad, here is the answer: Open the registry Go to : HKEY_LOCAL_MACHINE

Shell Extension : Not showing in Windows Explorer context

白昼怎懂夜的黑 提交于 2019-11-27 12:02:34
I have Windows 7 Professional x64. I have Visual Studio 2010 Premium and Visual Studio 2012 Premium installed on my machine. I installed TFS Power Tools Decemeber 2011. I restarted my computer after successful installation. I then checked out a folder from TFS 2010 but the TFS menu items in Windows Explorer context menu do not appear when i right click on the folder. I even reinstalled it by uinstalling it, restarting the pc and installing it again then restarting it again but same issue. I have followed the instructions outlined in here: TFS Power Tools: Shell Extension : Context Menu Quirky

Copy files from tfs versioncontrol to directory with PowerShell

南笙酒味 提交于 2019-11-27 03:36:59
问题 Does somebody know if it is possible to Copy files from TFS (2013 Update 2) source control to a specific folder on your computer? Let's say I have the server path $/BuildTemplate2013/BuildProcessSource and I want all the files of that directory to be copied/downloaded to C:\destinationDir with PowerShell. Is that possible? I have the TFS 2013 Update 2 Power tools installed but I can't find any command for that... 回答1: I've created a PowerShell script that connects to the TFS server with the

TFS Build: `Microsoft.TeamFoundation.PowerShell' is not installed on this computer

浪子不回头ぞ 提交于 2019-11-26 21:51:16
问题 When I'm logged in to tfs build server using local account and execute following powershell command: Add-PSSnapin Microsoft.TeamFoundation.PowerShell it loads the tfs cmdlets correctly. However, when I trigger a build on tfs server that invokes the script, it fails with message: 'Microsoft.TeamFoundation.PowerShell' is not installed on this computer. The build agent runs under service account. What should I do? EDIT : I had to edit the reqistry entry from the first link in @Alexis Coles'

Shell Extension : Not showing in Windows Explorer context

杀马特。学长 韩版系。学妹 提交于 2019-11-26 15:52:25
问题 I have Windows 7 Professional x64. I have Visual Studio 2010 Premium and Visual Studio 2012 Premium installed on my machine. I installed TFS Power Tools Decemeber 2011. I restarted my computer after successful installation. I then checked out a folder from TFS 2010 but the TFS menu items in Windows Explorer context menu do not appear when i right click on the folder. I even reinstalled it by uinstalling it, restarting the pc and installing it again then restarting it again but same issue. I