SleepManager
1.0.0
PowerShell module for managing computer sleep and display power states using Windows API. Provides functions to disable/enable sleep mode and execute code blocks with sleep prevention. Includes comprehensive logging via RunLog module.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2025. All rights reserved.
Package Details
Author(s)
- aaturpin
Tags
Sleep Power Windows API System Display PowerManagement Logging
Functions
Disable-ComputerSleep Enable-ComputerSleep Invoke-WithoutSleep
Dependencies
-
- RunLog (>= 2.0.0)
Release Notes
Initial release - Provides functions to disable/enable computer sleep mode and execute code blocks with sleep prevention using Windows API.
FileList
- SleepManager.nuspec
- README.md
- SleepManager.psd1
- SleepManager.psm1
Version History
Version | Downloads | Last updated |
---|---|---|
1.1.0 | 6 | 5/29/2025 |
1.0.0 (current version) | 5 | 5/28/2025 |