Syntax
Get-DepotBaseImages [-Depot] <String> [[-Version] <String>] [<CommonParameters>]Related Commands
Get-DepotAddonsDetailed Description
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.Parameters
Return Type
BaseImage/array of BaseImageInfoNotes
No notesExamples
-------------- List base images in depot (offline) --------------
C:\PS>Get-DepotBaseImages "C:\<depot>.zip"
Retrieves an array of all the base images contained in the software depot located at "C:\<depot>.zip".
-------------- List base images in depot (online) --------------
C:\PS>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".
-------------- Get base image by version (offline) --------------
C:\PS>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".
-------------- Get base image by version (online) --------------
C:\PS>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".