Get-DepotComponents
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.
Syntax
[[-Id] <String>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
String | named |
|
Specifies the location of the software depot that contains the components. The value can be either a file path to an offline depot in the format of "C:\ |
optional |
|
String | 1 |
|
Specifies the ID of a component contained in the specified software depot. The ID value must be in the format of " |
Output
Examples
Example 1
Retrieves an array of all the components contained in the software depot located at "C:\
Example 2
Retrieves an array of all the components contained in the software depot located at "https://
Example 3
Retrieves detailed information about the component with ID "
Example 4
Retrieves detailed information about the component with ID "
Related Commands
DepotAddons
DepotBaseImages
DepotComponents
DepotInfo