Skip to main content

Show-VSTeamPackage

SYNOPSIS

Opens the package in the default browser.

SYNTAX

Show-VSTeamPackage [-package] <Package> [<CommonParameters>]

DESCRIPTION

Opens the package in the default browser.

EXAMPLES

Example 1: From pipeline

Get-VSTeamPackage -feedName vsteam -Top 1 -Skip 2 | Show-VSTeamPackage

This command will open a web browser with this package showing.

Example 2: By parameter

$p = Get-VSTeamPackage -feedName vsteam -Top 1 -Skip 2
Show-VSTeamPackage $p

This command will open a web browser with this package showing.

PARAMETERS

-package

Package to show

Type: Package
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

vsteam_lib.Package

OUTPUTS

vsteam_lib.Package

NOTES

Prerequisites:

Set the account and version that all calls will use with Set-VSTeamAccount. Default version sets to API version 3.0 (TFS2017) if not manually set.

tips:

  • check called version of the API with Get-VSTeamAPIVersion or Get-VSTeamInfo
  • use Set-VSTeamDefaultProject to set default project for every call
  • use Set-VSTeamDefaultAPITimeout to change the default timeout of 60 seconds for all calls.
  • use Profiles to load an account and the correct version

Add-VSTeamPackage