Link

New-TfsProcessTemplate

Creates a new inherited process.


Table of Contents

  1. Syntax
  2. Parameters
  3. Outputs
  4. Related Links

Syntax

New-TfsProcessTemplate
    [-ProcessTemplate] <string>
    [-Collection <object>]
    [-Description <string>]
    [-Force]
    [-Parent <object>]
    [-Passthru]
    [-Project <object>]
    [-ReferenceName <string>]

[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 process.

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

-Force

Allows the cmdlet to overwrite an existing process.

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

-Parent

Specifies the name of the parent process from which the new process will inherit.

Type object
Position (Named)
Default Value (N/A)
Accept pipeline input False
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

-ProcessTemplate (Aliases: Name)

Specifies the name of the process to create.

Type string
Position 0
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

-ReferenceName

Specifies the reference name of the new process. When omitted, a random name will be automatically generated and assigned by the server.

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

Outputs

Microsoft.TeamFoundation.Core.WebApi.Process