Created
September 25, 2012 15:40
-
-
Save staxmanade/3782651 to your computer and use it in GitHub Desktop.
TFS checkin by person count
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$history = tf history ./* /recursive /noprompt; | |
$h = @{}; $history | where { $_ } | select -skip 2 | %{ $val = $_.Substring(10, 13).Trim(); if([string]::IsNullOrEmpty($h[$val])){ $h[$val] = 0; "add $val"; } else{ $val; $h[$val] = $h[$val] + 1} }; $h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment