This cmdlet uploads and installs one or more license activation keys in the Lenovo XClarity Administrator server. You can import and install each license-activation key individually or multiple key bundled in a zip archive.
Install-LXCAQuantityLicense [-Connection LXCAConnection]
-LicenseFile string
[CommonParameter]
Lenovo.SysMgmt.LXCA.Integration.Data.QuantityLicenseInstallResult
This cmdlet returns a Lenovo.SysMgmt.LXCA.Integration.Data.QuantityLicenseInstallResult object, that contains information about the operation result on the XClarity Administrator server.
The following example uploads and installs a license activation key C:\LXCA\lxcaLicense.key in the XClarity Administrator server
$cred = Get-Credential
Connect-LXCA -Host 1.111.11.11 -Credential $cred
$result = Install-LXCAQuantityLicense -LicenseFile C:\LXCA\lxcaLicense.key
# show all information about the request:
$result
$result.InstallInfo
Disconnect-LXCA