Daniel
Daniel

Reputation: 635

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

Upvotes: 2

Views: 77

Answers (1)

Daniel
Daniel

Reputation: 635

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

creationDate

That resolved my requirement

Upvotes: 1

Related Questions