Get-TfsChangesetByComment takes a -StopAfter parameter to limit the results returned.
The cmdlet is returning a number of results less than or equal to that specified value.
The cmdlet was passing that parameter through to the underlying Get-TfsItemHistory which honored the parameter, but then the cmdlet itself is filtering further so typically one would get less results than requested.
Changed so that the parameter is now only applied within the cmdlet itself to give an accurate result count.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The cmdlet was passing that parameter through to the underlying Get-TfsItemHistory which honored the parameter, but then the cmdlet itself is filtering further so typically one would get less results than requested.
Changed so that the parameter is now only applied within the cmdlet itself to give an accurate result count.
Fixed in 1.2.07