Link

New-TfsBuildDefinitionFolder

Creates a new build/pipeline definition folder


Table of Contents

  1. Syntax
  2. Description
  3. Parameters
  4. Inputs
  5. Outputs
  6. Related Links

Syntax

New-TfsBuildDefinitionFolder
    [-Folder <object>]
    [-Collection <object>]
    [-Description <string>]
    [-Passthru]
    [-Project <object>]

[Go to top]

Description

Folders are created recursively - i.e. when specifying a path like ‘\foo\bar\baz’, if any of the parent folders (foo, foo\bar) does not exist, it is automatically created before creating any child folders.

[Go to top]

Parameters

-Collection

Specifies the URL to the Team Project Collection or Azure DevOps Organization to connect to, a TfsTeamProjectCollection object (Windows PowerShell only), or a VssConnection object. You can also connect to an Azure DevOps Services organizations by simply providing its name instead of the full URL. For more details, see the Get-TfsTeamProjectCollection cmdlet. When omitted, it defaults to the connection set by Connect-TfsTeamProjectCollection (if any).

Type object
Position (Named)
Default Value (N/A)
Accept pipeline input False
Accept wildcard characters False

-Description

Specifies the description of the new build/pipeline folder.

Type string
Position (Named)
Default Value (N/A)
Accept pipeline input False
Accept wildcard characters False

-Folder (Aliases: Path)

Specifies the path of the new pipeline/build folder, including its name, separated by backslashes ().

Type object
Position 0
Default Value (N/A)
Accept pipeline input True (byvalue, bypropertyname)
Accept wildcard characters False

-Passthru

Returns the results of the command. By default, this cmdlet does not generate any output.

Type SwitchParameter
Position (Named)
Default Value (N/A)
Accept pipeline input False
Accept wildcard characters False

-Project

Specifies the name of the Team Project, its ID (a GUID), or a Microsoft.TeamFoundation.Core.WebApi.TeamProject object to connect to. When omitted, it defaults to the connection set by Connect-TfsTeamProject (if any). For more details, see the Get-TfsTeamProject cmdlet.

Type object
Position (Named)
Default Value (N/A)
Accept pipeline input False
Accept wildcard characters False

Inputs

System.Object

Specifies the path of the new pipeline/build folder, including its name, separated by backslashes ().

Outputs

Microsoft.TeamFoundation.Build.WebApi.Folder