About this document
PowerShell Script to Prevent Sleep Mode by kafosi3216 is a document available to read on EtoBox.
The document contains a PowerShell script that continuously moves the mouse cursor within a 500x500 pixel area and sends a Shift+F15 key combination every 59 seconds. This is intended to prevent the computer from going to sleep. The script uses System.Windows.Forms for cursor manipulation and WScript.Shell for sending keystrokes.
- Author
- kafosi3216
- Language
- EN