AaTurpin.PSPowerControl

1.0.0

PowerShell module for controlling Windows power management settings, including the ability to prevent system and monitor sleep during critical operations. Uses Windows API calls for reliable power state management.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AaTurpin.PSPowerControl

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name AaTurpin.PSPowerControl

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2025 aaturpin. All rights reserved.

Package Details

Author(s)

  • aaturpin

Tags

PowerManagement Sleep Windows API System Monitor Power Automation Enterprise

Functions

Disable-Sleep Enable-Sleep

Dependencies

Release Notes

Initial release with Windows power management control capabilities. Provides functions to disable and enable system/monitor sleep using Windows kernel32.dll API calls for reliable power state management during critical operations.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 4 7/3/2025