{
  "$type": "site.standard.document",
  "description": "A PowerShell equivalent of macOS caffeinate -d that uses the SetThreadExecutionState Win32 API to keep Windows awake without faking key presses.",
  "path": "/blog/caffeinate-windows/",
  "publishedAt": "2020-11-12T00:00:00.000Z",
  "site": "at://did:plc:rkjxbatkiros6f7pwtgsir54/site.standard.publication/self",
  "tags": [
    "powershell",
    "windows",
    "engineering",
    "scripting"
  ],
  "title": "Caffeinate Windows With PowerShell"
}