Get-DepotBaseImages
This cmdlet retrieves an array of objects that provide basic information about base images in the software depot. Optionally, you can use the -Version parameter to get an object with detailed information about the base image with the specified version.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required
|
Depot | String | named |
|
Specifies the location of the software depot that contains the base images. 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 | Version | String | 1 |
|
Specifies the version of a base image contained in the specified software depot. |
optional | ProgressAction | ActionPreference | named |
|
Output
Examples
Example 1
Get-DepotBaseImages "C:\<depot>.zip"
Retrieves an array of all the base images contained in the software depot located at "C:\<depot>.zip".
Example 2
Get-DepotBaseImages "https://<address-of-depot>/index.xml"
Retrieves an array of all the base images contained in the software depot located at "https://<address-of-depot>/index.xml".
Example 3
Get-DepotBaseImages "C:\<depot>.zip" -Version "<baseimage-version>"
Retrieves detailed information about the base image with version "<baseimage-version>" from the software depot located at "C:\<depot>.zip".
Example 4
Get-DepotBaseImages "https://<address-of-depot>/index.xml" -Id "<baseimage-version>"
Retrieves detailed information about the base image with version "<baseimage-version>" from the software depot located at "https://<address-of-depot>/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.