Get-Changeset

Introduction

The Get-Changeset enables to retrieve all the changeset corresponding to a path.

Obtain the TFS server using the Get-TFS CmdLet.

Parameters

Name Description Example
-tfs TFS server obtained using Get-TFS $tfs = Get-TFS -rul http://address:8080
-path Root element to retrieve changeset from

Retrieving changeset sample where changeset are "Add, Encoding"

PsTFS > : $tfs = get-tfs colmar

PsTFS > : $cs = get-changeset -tfs $tfs -path $/test

PsTFS > : $cs | where {$_.ChangeType -eq "Add, Encoding"} | format-table

Item                                                                                                                                       ChangeType
----                                                                                                                                       ----------
Item instance 63721755...                                                                                                               Add, Encoding
Item instance 21809839...                                                                                                               Add, Encoding
Item instance 15070780...                                                                                                               Add, Encoding
Item instance 60553871...                                                                                                               Add, Encoding
Item instance 55238588...                                                                                                               Add, Encoding
Item instance 41964019...                                                                                                               Add, Encoding
Item instance 9500519...                                                                                                                Add, Encoding
Item instance 33765504...                                                                                                               Add, Encoding
Item instance 44741277...                                                                                                               Add, Encoding
Item instance 22477484...                                                                                                               Add, Encoding
Item instance 50456012...                                                                                                               Add, Encoding
Item instance 56922942...                                                                                                               Add, Encoding
Item instance 64125936...                                                                                                               Add, Encoding
Item instance 43231435...                                                                                                               Add, Encoding
Item instance 9564697...                                                                                                                Add, Encoding
Item instance 37166905...                                                                                                               Add, Encoding
Item instance 23688932...                                                                                                               Add, Encoding
Item instance 47553854...                                                                                                               Add, Encoding
Item instance 37326335...                                                                                                               Add, Encoding
Item instance 32138721...                                                                                                               Add, Encoding
Item instance 25630632...                                                                                                               Add, Encoding
Item instance 16246263...                                                                                                               Add, Encoding
Item instance 55745582...                                                                                                               Add, Encoding
Item instance 1725862...                                                                                                                Add, Encoding
Item instance 24361838...                                                                                                               Add, Encoding
Item instance 16109028...                                                                                                               Add, Encoding
Item instance 48472150...                                                                                                               Add, Encoding
Item instance 18887160...                                                                                                               Add, Encoding
Item instance 61495397...                                                                                                               Add, Encoding

Last edited Nov 7, 2009 at 10:01 PM by pc152, version 4

Comments

No comments yet.