简体   繁体   中英

TFS 2010 Powershell Get-TFSItemHistory returning oldest version and not the latest

In TFS 2010, using powershell

  Get-tfsItemHistory $path -server $servername

returns the oldest changeset and not the latest changeset. Is there anyway to get the latest changeset Thanks Nate

  PS C:\Windows\system32> Get-tfsItemHistory $path -server $servername -All -recurse -stopafter 1 | select Owner ,

creationDate

That resolved my requirement

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM