Skip to main content

Update-LXCOFirmwareCatalog

This cmdlet refreshes the updates catalog by downloading information (metadata) about updates that are applicable to your managed resources or downloading specified packages from the Lenovo Support website.

Note
You cannot pipe objects to this cmdlet.

Syntax

Update-LXCOFirmwareCatalog [-Connection LXCOConnection]
[-FirmwareAge String[]
-IDs String[]
[CommonParameter]

Update-LXCOFirmwareCatalog [-Connection LXCOConnection]
-Download
-IDs String[]
[CommonParameter]

Parameters

-Connection LXCOConnection
Specifies the connection to the Lenovo XClarity Orchestrator server. If no connection is specified, the result from the last Connect-LXCO cmdlet is used.
-FirmwareAge String
Indicates which firmware to refresh. This can be one of the following values.
  • all. All versions
  • latest. (default) Only the latest version
-ID String[]
List of IDs of update-catalog entries, including resource types (platforms), components, and update packages to refresh.
-Download
If specified, the updates packages are downloaded to the updates repository. Otherwise, information about available update packages (metadata) is downloaded.
CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

Examples

The following example refreshes the information (metadata) for updates specified using the IDs parameter.

$cred = Get-Credential
Connect-LXCO -HostUri 192.0.2.0 -Credential $cred -SkipCertificateCheck

$result = Update-LXCOFirmwareCatalog -IDs "repopack"
$result | Format-List

Disconnect-LXCO

The following example downloads specified updates, specified using the IDs parameter.

$cred = Get-Credential
Connect-LXCO -HostUri 192.0.2.0 -Credential $cred -SkipCertificateCheck

$result = Update-LXCOFirmwareCatalog -Download -IDs "lnvgy_sw_lxca_systemxrepo4-3.4.0_anyos_noarch",`
"lnvgy_sw_lxca_thinksystemrepo4-3.4.0_anyos_noarch"
$result | Format-List

Disconnect-LXCO