Get-LXCASystemCompliance
This cmdlet retrieves firmware-compliance information about one or more managed devices (including CMMs, switches, servers, and storage devices) to which a compliance policy is assigned.
Syntax
Get-LXCASystemCompliance [-Connection LXCAConnection]
-SystemType SystemType
-SystemUuid String
[CommonParameter]
Get-LXCASystemCompliance [-Connection LXCAConnection]
-SystemType SystemType
-Uuids String[]
[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.
- -SystemType SystemType
- Specifies the type of the target device that is specified using the -SystemUuid parameter. Specify one of the following system types:
Chassis. The specified device is a chassis and includes all CMMs, FlexSystem switches, and compute nodes in the chassis.
CMM. The specified device is a CMM.
ComputeNode. The specified device is a Flex System compute node.
EdgeServer. The specified device is an edge server.
IOSwitch. The specified device is a Flex System switch.
RackServer. The specified device is a rack or tower server.
RackSwitch. The specified device is a RackSwitch switch.
Storage. The specified device is a storage device.
- -SystemUuid String
- Specifies the UUID of the target device. The target device can be a chassis, CMM, switch, server, or storage device. If you specify a chassis, information for all devices that are installed in the chassis are returned.
- -Uuids String[]
- Specifies UUIDs of one or more target devices of the same type. The target devices can be chassis, CMMs, Flex System switches, Flex System compute nodes, System x servers, RackSwitch switches or storage devices.NoteChassis UUIDs are not supported. If you specify chassis UUIDs, a null object is returned.
- 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 one or more SystemCompliance objects that contain firmware-compliance information.
Examples
- The following example retrieves firmware-compliance information for all devices in a chassis.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$compliance = Get-LXCASystemCompliance -SystemUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -SystemType Chassis
Disconnect-LXCA - The following example retrieves firmware-compliance information for multiple rack servers.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$compliance = Get-LXCASystemCompliance -SystemType RackServer`
-Uuids AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA,BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
Disconnect-LXCA