P.B*_*key 3 powershell tfs tfs2010 tfs-power-tools
在运行时的powershell中
Get-TfsItemHistory . -Recurse -Version C13855~C14103
我收到错误 Unable to determine the source control server.
如果我运行tfpt.exe,我可以这样做tf workspaces /s:serverUrl.
我怎样才能解决这个错误?
在PS中运行这4个命令修复了该问题
Add-PSSnapin Microsoft.TeamFoundation.PowerShell
$tfsServerString = "http://server:8080/tfs/optionalName"
$tfs = get-tfsserver $tfsServerString
Get-TfsItemHistory $/TeamProjectName -Recurse -Version C13855~C14103 -Server $tfs | fl Comment,ChangesetId,CreationDate,Committer
Run Code Online (Sandbox Code Playgroud)
此问题特定于x64窗口.
| 归档时间: |
|
| 查看次数: |
2193 次 |
| 最近记录: |