The powershell code below returns a list of Changesets. I would like to loop through each changeset so that I can access the properties.
$items = Get-TfsItemHistory $tfsProject -Version "D$lastChangeDateTime~" -Recurse -Server $tfs -IncludeItems
For example
foreach($item in $items)
{
Write-Host $item.ServerItem
}
I believe the ServerItem property holds the path to the changed file on the server. There are other properties I would like to access. Any help on this would be appreciated. The purpose of this is to deploy the files associated in each changeset. I will be copying them over to the server and will need access to other properties for notifications, comments and other things.