Skip to content

Powershell script to retrieve changesets by dates and generate a simple summary report file

License

Notifications You must be signed in to change notification settings

leonjalfon1/TFSChangesetsByDate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TFSChangesetsByDate

Powershell script to retrieve changesets by dates and generate a simple summary report file


Example Uses

  • Find all the changesets created between two dates
  • Find the total of changesets between two dates
  • Find the total of changesets by month in the last year
  • Find who did changes in specific path between two dates

Requisites


Parameters

Mandatory

Path

  • Path in source control (directory or file)
  • Example: "$/TeamProject/Branch/Directory"

CollectionUrl

Dates

  • Must meet the following format {StartDay/StartMonth/StartYear-EndDay/EndMonth/EndYear}
  • You can set several dates separated by ';'
  • Example: "1/2/2016-1/4/2016;1/4/2016-1/6/2016;1/6/2016-1/8/2016"

Optional

TFPath

  • Path where TF.exe is stored
  • By default TF.exe the tool searched in the path "C:\Program Files (x86){VS 17,15,13}\Common7\IDE"
  • For Example: "C:\Program Files\TFVC"

File

  • Specify the file where the summary will be created (the default is "Desktop\ChangesetsByDates_{datetime}")
  • Example: "C:\Users\User\Desktop\TFSChangesetsByDates\Summary.txt"

Usage

  • Mandatory
.\TFSChangesetsByDates.ps1 -Path "$/TP/Branch/Directory" -CollectionUrl "http://tfsserver:8080/tfs/Collection" -Dates "1/2/2016-1/4/2016;1/4/2016-1/6/2016;1/6/2016-1/8/2016"
  • All
.\TFSChangesetsByDates.ps1 -Path "$/TP/Branch/Directory" -CollectionUrl "http://tfsserver:8080/tfs/Collection" -Dates "1/2/2016-1/4/2016;1/4/2016-1/6/2016;1/6/2016-1/8/2016" -TFPath "C:\Program Files\TFVC" -File "C:\Users\User\Desktop\TFSChangesetsByDates\Summary.txt"

Summary Report

  • Show the total changesets between each interval
  • Show the total changesets in all the intervals
  • Show the changesets details in each interval
  • See an example in the SummaryReportExample

Contributing

  • Please feel free to contribute, suggest ideas or open issues

About

Powershell script to retrieve changesets by dates and generate a simple summary report file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published