Find Last Server Reboot with PowerShell
Check server uptime quickly during incident triage.
Use this when: Check server uptime quickly during incident triage.
AdvertisementIn-content ad placement
Command
Get-CimInstance Win32_OperatingSystem | Select-Object CSName,LastBootUpTimeWhen to use it
Check server uptime quickly during incident triage. This belongs in the first few minutes of triage, before deep investigation.
What to look for
- Recent reboots or unexpected service restarts.
- Resource exhaustion that matches the alert.
- Connectivity failures that explain application symptoms.
- Differences between monitoring data and the server's actual state.
Manager note: Quick fixes should reduce triage time, not replace root cause analysis. If the same quick fix is used repeatedly, turn it into a problem record or permanent monitoring change.
Related: All Playbooks · Quick Fix Library · Deep Guides