Get-DepotAddons

This cmdlet retrieves an array of objects that provide basic information about addons in the software depot. Optionally, you can use the -Id parameter to get an object with detailed information about the addon with the specified ID.

Syntax

-Depot  <String>
[[-Id]  <String>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Depot
String named Specifies the location of the software depot that contains the addons. The value can be either a file path to an offline depot in the format of "C:\.zip" or an URL address to the index file of the online depot in the format of "https:///index.xml".
optional
Id
String 1 Specifies the ID of an addon contained in the specified software depot. The ID value must be in the format of":".

Output

Examples


Example 1

Get-DepotAddons "C:\.zip"

Retrieves an array of all the addons contained in the software depot located at "C:\.zip".

Example 2

Get-DepotAddons "https:///index.xml"

Retrieves an array of all the addons contained in the software depot located at "https:///index.xml".

Example 3

Get-DepotAddons "C:\.zip" -Id ""

Retrieves detailed information about the addon with ID "" from the software depot located at "C:\.zip".

Example 4

Get-DepotAddons "https:///index.xml" -Id ""

Retrieves detailed information about the addon with ID "" from the software depot located at "https:///index.xml".

Related Commands

Feedback

Was this page helpful?