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

9 lines
253 B
Markdown

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