New-TfsTeamProjectCollection
Creates a new team project collection.
Table of Contents
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]
Parameters
Specifies the name of the team project collection to create.
Type | object |
Position | 0 |
Default Value | (N/A) |
Accept pipeline input | True (byvalue) |
Accept wildcard characters | False |
Specifies the connection string for the team project collection.
Type | string |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies the name of the team project collection database.
Type | string |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies the name of the SQL Server for hosting the team project collection database.
Type | string |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies whether new the team project collection should become the default collection.
Type | SwitchParameter |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies the description of the team project collection.
Type | string |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies the initial state of the team project collection. This allows you to create a collection in a stopped state when needed.
Type | string |
Position | (Named) |
Default Value | Started |
Accept pipeline input | False |
Accept wildcard characters | False |
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 |
Specifies the frequency (in seconds) at which the command will check whether the creation is completed.
Type | int |
Position | (Named) |
Default Value | 5 |
Accept pipeline input | False |
Accept wildcard characters | False |
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 |
Specifies the timeout to wait for the operation to complete. When omitted, will wait indefinitely until the operation completes.
Type | TimeSpan |
Position | (Named) |
Default Value | 10675199.02:48:05.4775807 |
Accept pipeline input | False |
Accept wildcard characters | False |
Specifies whether to use an existing database for the team project collection.
Type | SwitchParameter |
Position | (Named) |
Default Value | (N/A) |
Accept pipeline input | False |
Accept wildcard characters | False |
Inputs
System.Object
Specifies the name of the team project collection to create.