CleanCode logo
sitemap
SEARCH:

CleanCode PowerShell Libraries v1.2.08 API: CleanCode » TfsTools » Get-TfsChangesetByComment

Get-TfsChangesetByComment

NAME

Get-TfsChangesetByComment

SYNOPSIS

Retrieves TFS changesets containing a specified pattern in the comment.

SYNTAX

Get-TfsChangesetByComment [[-Pattern] <String>] [[-Path] <String>] [[-StopAfter] <String>] [[-User] <String>] [<CommonParameters>]

DESCRIPTION

Get-TfsChangesetByComment provides a handy search facility for a TFS repository using regular expressions. This is actually a decorator around the TFS PowerTools Get-TfsItemHistory cmdlet, adding the ability to filter by contents of the comment attached to a changeset.

PARAMETERS

-Pattern <String>
        A regular expression to match against the Comment property.
        If omitted, all changesets are returned.

        Required?                    false
        Position?                    1
        Default value                .*
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Path <String>
        The root of the subtree to check.
        If omitted, uses the current directory.

        Required?                    false
        Position?                    2
        Default value                .
        Accept pipeline input?       false
        Accept wildcard characters?  false

-StopAfter <String>
        Retrieves at most the number of changesets that you specify.

        Required?                    false
        Position?                    3
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-User <String>
        Filters the list of changesets to the named user.
        You may specify the user with or without the domain,
        e.g. 'your-domain\yoda' or 'yoda' will return equivalent results.

        Required?                    false
        Position?                    4
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer and OutVariable. For more information, see 
        about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216). 

INPUTS

None. You cannot pipe objects to Get-TfsChangesetByComment.

OUTPUTS

Array of Microsoft.TeamFoundation.VersionControl.Client.Changeset

NOTES



        This function is part of the CleanCode toolbox
        from http://cleancode.sourceforge.net/.

        Since CleanCode 1.2.06.

EXAMPLES


-------------------------- EXAMPLE 1 --------------------------

PS>Get-TfsChangesetByComment -Pattern 'cleanup.*projects' -User fflintstone -StopAfter 10

Retrieves up to the 10 latest changesets matching the specified pattern for the given user.

RELATED LINKS

-none-

This documentation set was created with CleanCode's DocTreeGenerator.

Valid XHTML 1.0!Valid CSS!Get CleanCode at SourceForge.net. Fast, secure and Free Open Source software downloads
Copyright © 2001-2015 Michael Sorens • Contact usPrivacy Policy
Usage governed by Mozilla Public License 1.1 and CleanCode Courtesy License
CleanCode -- The Website for Clean DesignRevised 2015.12.16