UCS PowerTool / PowerShell Script to Retrieve SEL Logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2014 06:56 PM
Does anyone know of way to retrieve the content of the SEL Logs from a server blade through PowerShell using the UCS PowerTool?
I've been looking for the correct cmdlet and haven't come across anything yet.
The GUI equivalent would be the content displayed under Equipment tab -> Equipment -> Chassis - > Chassis # -> Servers -> Server # - > SEL Logs tab.
- Labels:
-
Unified Computing System (UCS)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2017 07:59 AM
Not sure if you are still looking for an answer to this or not, but this will clear the SEL logs for all blades on the domain:
connect-ucs <ucsdomain>
Get-UcsBlade | Get-UcsMgmtController | Get-UcsSysdebugMEpLog -Type SEL | Set-UcsSysdebugMEpLog -AdminState clear -Confirm:$false –Force
If you wanted to clear them from a single blade, you could modify it to:
connect-ucs <ucsdomain>
Get-UcsBlade -Chassis <chasssis #> -SlotID <slot #> | Get-UcsMgmtController | Get-UcsSysdebugMEpLog -Type SEL | Set-UcsSysdebugMEpLog -AdminState clear -Confirm:$false –Force

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2018 11:06 AM
Hello,
Read description before use,
It's very dangerous, this command don't retrieve SEL Logs, but clear all .
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2021 04:02 AM
Did anyone figure this one out? I have the same issue ... 7 years later
