Skip to main content

Get-LXCAUpdateCompliancePolicy

This cmdlet retrieves information about the firmware-compliance policy that is assigned to a managed device.

Note
You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAUpdateCompliancePolicy [-Connection LXCAConnection] 
[CommonParameter]

Get-LXCAUpdateCompliancePolicy [-Connection LXCAConnection]
-SystemUuid String
-SystemType 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.
-SystemUuid String
Specifies the UUID of the target device to which a firmware-compliance policy is assigned. The server can be a CMM, Flex System switch, or server.

If a firmware-compliance policy has been assigned to the specified device, the returned policy includes the UUID for that device. If no UUID is specified, the cmdlet returns information about all policies.

-SystemType SystemType
Specifies the type of device that was identified with the -SystemUuid parameter. Specify one of the following system types:
  • 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.

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 CompliancePolicy objects that contain firmware-compliance policy information.

Examples

  • The following example retrieves all firmware-compliance policies.

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

    $policy = Get-LXCAUpdateCompliancePolicy

    Disconnect-LXCA
  • The following example retrieves the firmware-compliance policy that is applicable to a specific server in a Flex System chassis.

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

    $policy = Get-LXCAUpdateCompliancePolicy -SystemUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`
    -SystemType ComputeNode

    Disconnect-LXCA