# Keep-Awake.ps1 - press Ctrl+C to stop
$wsh = New-Object -ComObject WScript.Shell
Write-Host "Keeping session awake. Press Ctrl+C to stop."
while ($true) {
$wsh.SendKeys('{F15}') # F15 exists but does nothing on most keyboards/apps
Start-Sleep -Seconds 240
}