Skip to content

Commit cbd77db

Browse files
truculeclaude
andauthored
Article: Find What Wakes a Windows PC With Get-WinEvent (#525)
Closes #428 This adds the article pitched in #428. It builds `Get-SleepWakeHistory`, which pairs Kernel-Power event 42 with Power-Troubleshooter event 1 to show when a PC slept, why it went to sleep, and what woke it. It then lists the scheduled tasks with `WakeToRun` set and the devices armed to wake the PC, and shows how to turn off each one. The code was tested in Windows PowerShell 5.1 and PowerShell 7.6 on two Windows 11 PCs (builds 26200 and 26300), a desktop that uses S3 sleep and a Modern Standby laptop. Every output block in the article comes from those runs. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent a9419a0 commit cbd77db

2 files changed

Lines changed: 418 additions & 0 deletions

File tree

  • content/articles/2026/11

‎content/articles/2026/11/_index.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: "Articles from November 2026"
3+
description: "PowerShell.org Articles published in November 2026."
4+
---

0 commit comments

Comments
 (0)