Skip to main content

Get-LXCALicenseCompliance

This cmdlet retrieves information about whether Lenovo XClarity Administrator is license compliant.

License compliance is determined based on the number of managed devices that support the advanced functions. The number of managed devices must not exceed the total number of licenses in all active license keys.

Note
You cannot pipe objects to this cmdlet.

Syntax

Get-LXCALicenseCompliance  [-Connection LXCAConnection] 
[CommonParameter]

Parameters

-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
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

This cmdlet returns a Lenovo.SysMgmt.LXCA.Integration.Data.LicenseComplianceData object, that contains information about the license compliance status.

Examples

The following example returns the license compliance status of the XClarity Administrator server.

$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred

$compliance = Get-LXCALicenseCompliance

# Show all information about the request:
$compliance

# Show compliance status.
$compliance.Status

Disconnect-LXCA