Skip to main content

Get-VSTeamExtension

SYNOPSIS

Get the installed extensions in the specified Azure DevOps or Team Foundation Server project.

SYNTAX

List

Get-VSTeamExtension [-IncludeInstallationIssues] [-IncludeDisabledExtensions] [-IncludeErrors]
[<CommonParameters>]

GetById

Get-VSTeamExtension -PublisherId <String> -ExtensionId <String> [<CommonParameters>]

DESCRIPTION

Get the installed extensions in the specified Azure DevOps or Team Foundation Server project.

EXAMPLES

Example 1

Get-VSTeamExtension -PublisherId 'PublisherA' -ExtensionId 'Ext123'

This command retrieves the details of the extension with the id 'Ext123' from the publisher with id 'PublisherA'.

Example 2

Get-VSTeamExtension -IncludeInstallationIssues

This command retrieves all installed extensions and includes those with installation issues in the results.

Example 3

Get-VSTeamExtension -IncludeDisabledExtensions

This command retrieves all installed extensions, including those that are currently disabled.

Example 4

Get-VSTeamExtension -IncludeErrors

This command retrieves all installed extensions and includes those with errors in the results.

Example 5

Get-VSTeamExtension | Where-Object { $_.PublisherId -eq 'PublisherA' }

This command retrieves all installed extensions and then filters out to display only those from the publisher with id 'PublisherA'.

PARAMETERS

-PublisherId

The id of the publisher.

Type: String
Parameter Sets: GetById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ExtensionId

The id of the extension.

Type: String
Parameter Sets: GetById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-IncludeInstallationIssues

If true (the default), include installed extensions with issues.

Type: SwitchParameter
Parameter Sets: List
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-IncludeDisabledExtensions

If true (the default), include disabled extensions in the results.

Type: SwitchParameter
Parameter Sets: List
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-IncludeErrors

If true, include installed extensions with errors.

Type: SwitchParameter
Parameter Sets: List
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
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

OUTPUTS

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-VSTeamExtension

Get-VSTeamExtension

Remove-VSTeamExtension

Update-VSTeamExtension