Get-DepotAddons Command | Vmware PowerCLI Reference

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

Get-DepotAddons
-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:\<depot>.zip" or an URL address to the index file of the online depot in the format of "https://<address-to-depot>/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"<name>:<version>".

Output

Examples

Example 1

Get-DepotAddons "C:\&#60depot&#62.zip"

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

Example 2

Get-DepotAddons "https://&#60address-of-depot&#62/index.xml"

Retrieves an array of all the addons contained in the software depot located at "https://&#60address-of-depot&#62/index.xml".

Example 3

Get-DepotAddons "C:\&#60depot&#62.zip" -Id "&#60addon-id&#62"

Retrieves detailed information about the addon with ID "&#60addon-id&#62" from the software depot located at "C:\&#60depot&#62.zip".

Example 4

Get-DepotAddons "https://&#60address-of-depot&#62/index.xml" -Id "&#60addon-id&#62"

Retrieves detailed information about the addon with ID "&#60addon-id&#62" from the software depot located at "https://&#60address-of-depot&#62/index.xml".

Related Commands

DepotAddons

This cmdlet retrieves basic information about addons in the software depot.

DepotBaseImages

This cmdlet retrieves basic information about base images in the software depot.

DepotComponents

This cmdlet retrieves basic information about components in the software depot.

DepotInfo

This cmdlet retrieves basic information about the specified software depot.

DepotVibs

This cmdlet retrieves basic information about VIBs in the software depot.