Get-LXCAEvent

This cmdlet retrieves one or more management server and hardware events from the Lenovo XClarity Administrator server.

Note: You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAEvent [-Connection LXCAConnection] 
              [-EventID String[]]
              [-SourceID String[]] 
              [-Severity EventSeverity[]] 
              [-EventClass EventClass[]] 
              [-PreviousHours Int]
              [-StartSequenceNumber Long]
              [-EndSequenceNumber Long]
              [-All]
              [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.
-EventID String[]
Specifies one or more event IDs. If you do not specify an event ID, all events are returned.
Note: You can use the Get-LXCAEvent cmdlet to retrieve a list of event IDs.
-SourceID String[]
Specifies one or more UUIDs of the components that are the event source (raiser or owner).
-Severity EventSeverity[]
Specifies one or more event severities. 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 severity Severity parameter
Critical Fatal, Critical, Major
Warning Minor, Warning
Informational Informational
Unknown Unknown
-EventClass EventClass[]
Specifies the event source type. You can specify one or more of the following types, 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
-PreviousHours Int
Specifies the number hours before the current time in which events are to be obtained.
-StartSequenceNumber Long
Specifies the start sequence number for obtaining events.
-EndSequenceNumber Long
Specifies the end sequence number for obtaining events.
-All
If specified, the cmdlets also returns the event log entries.
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 Event objects.

Examples

Related links