Get-DepotAddons - vSphere ImageBuilder Reference

PowerCLI Reference

vSphere ImageBuilder Reference

Get-DepotAddons

Synopsis

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

Syntax

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

Related Commands

Get-DepotBaseImages
Get-DepotComponents
Get-DepotInfo
Get-DepotVibs
New-IsoImage
New-PxeImage

Detailed Description

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.

Parameters

Name Type Description Required? Pipeline Input Default Value
Depot String 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". true false None
Id String Specifies the ID of an addon contained in the specified software depot. The ID value must be in the format of "<name>:<version>". false false None

Return Type

Addon/array of AddonInfo

Notes

No notes

Examples

-------------- List addons in depot (offline) --------------

C:\PS>Get-DepotAddons "C:\<depot>.zip"

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

-------------- List addons in depot (online) --------------

C:\PS>Get-DepotAddons "https://<address-of-depot>/index.xml"

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

-------------- Get addon by id (offline) --------------

C:\PS>Get-DepotAddons "C:\<depot>.zip" -Id "<addon-id>"

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

-------------- Get addon by id (online) --------------

C:\PS>Get-DepotAddons "https://<address-of-depot>/index.xml" -Id "<addon-id>"

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


Copyright © 1998 - 2020 VMware, Inc. All rights reserved.