CleanCode logo
sitemap
SEARCH:

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

Get-TfsVersion

NAME

Get-TfsVersion

SYNOPSIS

Returns a single line indicating the latest version of any local file in a given subtree.

SYNTAX

Get-TfsVersion [[-Path] <String>] [<CommonParameters>]

DESCRIPTION

This will find the latest version number of any file rooted in the specified subtree. Note that does *not* indicate that all files are at that version, only that at least one is. Thus you can use this cmdlet to affirm staleness if the reported version is less than the repository's latest version, but you can not use it to affirm freshness. Refer to Get-Stale* to delve into specifics of what is stale in your workspace.

PARAMETERS

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

        Required?                    false
        Position?                    1
        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-TfsVersion.

OUTPUTS

Text.

NOTES



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

        Since CleanCode 1.2.06.

RELATED LINKS

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