Syntax
Get-DepotComponents [-Depot] <String> [[-Id] <String>] [<CommonParameters>]Related Commands
Get-DepotAddonsDetailed Description
This cmdlet retrieves an array of objects that provide basic information about components in the software depot. Optionally, you can use the -Id parameter to get an object with detailed information about the component with the specified ID.Parameters
Return Type
Bulletin/array of BulletinfoNotes
No notesExamples
-------------- List components in depot (offline) --------------
C:\PS>Get-DepotComponents "C:\<depot>.zip"
Retrieves an array of all the components contained in the software depot located at "C:\<depot>.zip"./p>
-------------- List components in depot (online) --------------
C:\PS>Get-DepotComponents "https://<address-of-depot>/index.xml"
Retrieves an array of all the components contained in the software depot located at "https://<address-of-depot>/index.xml".
-------------- Get component by id (offline) --------------
C:\PS>Get-DepotComponents "C:\<depot>.zip" -Id "<component-id>"
Retrieves detailed information about the component with ID "<component-id>" from the software depot located at "C:\<depot>.zip".
-------------- Get component by id (online) --------------
C:\PS>Get-DepotComponents "https://<address-of-depot>/index.xml" -Id "<component-id>"
Retrieves detailed information about the component with ID "<component-id>" from the software depot located at "https://<address-of-depot>/index.xml".