Files
LogSeq/pages/Scripts/Powershell - get last boots.md
2025-12-11 06:26:12 -08:00

9 lines
260 B
Markdown

title:: Powershell - get last boots
updated:: 2021-03-24 14:55:35+00:00
created:: 2021-03-24 14:55:24+00:00
```powershell
Get-EventLog -LogName System |? {$_.EventID -in (6005,6006,6008,6009,1074,1076)} | ft TimeGenerated,EventId,Message -AutoSize -wrap
```