CleanCode logo
sitemap
SEARCH:

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

Get-StaleTfsFolders

NAME

Get-StaleTfsFolders

SYNOPSIS

Retrieves a list of folders where one or more files are not current with the TFS repository.

SYNTAX

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

DESCRIPTION

Summarizes what is stale in your workspace by folder. Refer to Get-StaleTfsProjects to see a summary by project. Refer to Get-StaleTfsFiles to see details per file.

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-StaleTfsFolders.

OUTPUTS

Array of PSCustomObjects.

NOTES



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

        Since CleanCode 1.2.06.

EXAMPLES


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

PS>cd Project\Database; Get-StaleTfsFolders | Format-Table -AutoSize

Tabular output will typically look better by piping to Format-Table as shown.

        Folder                          Project          FileCount
        ------                          -------          ---------
        .                               ??                       1
        .\Subproject                    Subproject               9
        .\Subproject\Functions          Subproject               1
        .\Subproject\Jobs               Subproject               1
        .\Subproject\Procedures         Subproject              58
        .\Subproject\Roles              Subproject               3
        .\Subproject\SchemaCollections  Subproject               2
        .\Subproject\Tables             Subproject              45

The project column shows unknown (??) for the current (root) directory because it is on top of all the projects within the folder, so there is no associated project. Note that you will also see an unknown marker for files that you have never downloaded into your workspace (i.e. new files introduced by someone else).

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