Giter Site home page Giter Site logo

tfschangesetsreportgenerator's Introduction

TFSChangesetsReportGenerator

Powershell script to generate a TFS changesets report


Report

  • Retrieve the total of changesets between two dates in a specific path
  • Shows the number of checkins per hour (or half hour)

Pre-Requisites

  • Powershell version 4.0 or later
  • Connection to internet (for access the libraries to generate the chart)
  • Access to the TFS Rest API

Parameters

Mandatory

StartDate

  • Date and time (optional) of the earliest changeset to return
  • Example: "6/7/2017"

EndDate

  • Date and time (optional) of the latest changesets to return
  • Example: "6/8/2017 11:59:59 PM"

Path

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

CollectionUrl

TeamProject

  • TFS Team Project Name
  • Example: "MyProject"

Credentials

  • Credentials to use to connect with the TFS REST Api
  • Example: "Domain\User:Password"

Optional

File

  • Specify the file where the summary will be created (the default is "Desktop\ChangesetsByHourReport_{datetime}.html")
  • Example: "C:\Users\User\Desktop\TFSChangesetsReportGenerator\Report.html"

Detailed

  • Indicates if show the results per hour or per half hours
  • $false by default, show total changesets per hour (valid values: $true or $false)
  • Example: $true

Usage

  • Mandatory
.\TFSChangesetsReportGenerator.ps1 -StartDate "6/7/2017" -EndDate "6/8/2017 11:59:59 PM" -Path "$/TP/Dev" -CollectionUrl "http://tfsserver:8080/tfs/DefaultCollection" -TeamProject "MyProject" -Credentials "dom\leonj:12345"
  • All
.\TFSChangesetsReportGenerator.ps1 -StartDate "6/7/2017" -EndDate "6/8/2017 11:59:59 PM" -Path "$/TP/Dev" -CollectionUrl "http://tfsserver:8080/tfs/DefaultCollection" -TeamProject "MyProject" -Credentials "dom\leonj:12345" -File "C:\Users\User\Desktop\TFSChangesetsReportGenerator\Report.html" -Detailed $true

Changeset Report


Contributing

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

tfschangesetsreportgenerator's People

Contributors

cxbuild avatar leonjalfon1 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.