Skip to main content

Get-LXCAActiveStatus

This cmdlet retrieves the status for one or more managed devices.

Note
You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAActiveStatus [-Connection LXCAConnection] 
-ComponentID String[]
[CommonParameter]

Get-LXCAActiveStatus [-Connection LXCAConnection]
[-Severity EventSeverity[]]
[-EventClass EventClass[]]
[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.
-Component ID String[]
Specifies one or more UUIDs of the components to which the status applies.
-Severity EventSeverity[]
Specifies the event severity. You can specify one or more of the following severities, separated by a comma.
  • Unknown
  • Informational
  • Warning
  • Minor
  • Major
  • Critical
  • Fatal
Note
The severities that are listed through this cmdlet differ from those listed in the Lenovo XClarity Administrator web interface.
Lenovo XClarity Administrator web interface severitySeverity parameter
CriticalFatal, Critical, Major
WarningMinor, Warning
InformationalInformational
UnknownUnknown
-EventClass EventClass[]
Specifies the event source type. You can specify one or more of the following event classes, separated by a comma.
  • ADAPTOR (adapter card)
  • AUDIT
  • BLADE (Flex System server)
  • COOLING
  • DISKS (storage)
  • EXPANSION (expansion card)
  • IOMODULE (Flex System switch)
  • MEMORY
  • OTHER
  • POWER
  • PROCESSOR
  • SWITCH (RackSwitch switch)
  • SYSTEM (rack or tower server)
  • TEST
  • UNKNOWN
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 ActiveStatus objects.

Examples

  • The following example retrieves the status for all managed devices.

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

    $status = Get-LXCAActiveStatus

    Disconnect-LXCA
  • The following example retrieves a list of devices that have a status with a severity of Critical or Fatal.

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

    $status = Get-LXCAActiveStatus -Severity Critical,Fatal

    Disconnect-LXCA