Windows command reference
Get-WinEvent — Service Control Manager
Read recent Service Control Manager events efficiently from the System log so service-start/dependency/crash timing can be correlated.
Risk: LowReviewed: 2026-09-17
Get-WinEvent -FilterHashtable @{LogName='System'; ProviderName='Service Control Manager'; StartTime=(Get-Date).AddHours(-24)}When to use it
Use when a service failure is recent and you need the matching SCM event history without changing the log.
When not to use it
This can return many events; narrow the time or Event ID as needed. Do not clear the System log while troubleshooting.
Primary reference