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

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

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:\.zip" or an URL address to the index file of the online depot in the format of "https:///index.xml".
optional
Version
String 1 Specifies the version of a base image contained in the specified software depot.

Output

Examples


Example 1

Get-DepotBaseImages "C:\.zip"

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

Example 2

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

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

Example 3

Get-DepotBaseImages "C:\.zip" -Version ""

Retrieves detailed information about the base image with version "" from the software depot located at "C:\.zip".

Example 4

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

Retrieves detailed information about the base image with version "" from the software depot located at "https:///index.xml".

Related Commands

Feedback

Was this page helpful?