Link

New-TfsTeamProjectCollection

Creates a new team project collection.


Table of Contents

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

Syntax

Use database server

New-TfsTeamProjectCollection
    [-Collection] <object>
    -DatabaseServer <string>
    [-DatabaseName <string>]
    [-Default]
    [-Description <string>]
    [-InitialState <string>]
    [-Passthru]
    [-PollingInterval <int>]
    [-Server <object>]
    [-Timeout <TimeSpan>]
    [-UseExistingDatabase]

Use connection string

New-TfsTeamProjectCollection
    [-Collection] <object>
    -ConnectionString <string>
    [-Default]
    [-Description <string>]
    [-InitialState <string>]
    [-Passthru]
    [-PollingInterval <int>]
    [-Server <object>]
    [-Timeout <TimeSpan>]
    [-UseExistingDatabase]

[Go to top]

Parameters

-Collection (Aliases: Name)

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

-ConnectionString

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

-DatabaseName

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

-DatabaseServer

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

-Default

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

-Description

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

-InitialState

Type string
Position (Named)
Default Value Started
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

-PollingInterval

Type int
Position (Named)
Default Value 5
Accept pipeline input False
Accept wildcard characters False

-Server

Specifies the URL to the Team Foundation Server to connect to, a TfsConfigurationServer object (Windows PowerShell only), or a VssConnection object. When omitted, it defaults to the connection set by Connect-TfsConfiguration (if any). For more details, see the Get-TfsConfigurationServer cmdlet.

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

-Timeout

Type TimeSpan
Position (Named)
Default Value 10675199.02:48:05.4775807
Accept pipeline input False
Accept wildcard characters False

-UseExistingDatabase

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

Inputs

System.Object

Outputs

TfsCmdlets.Models.Connection