Enable Sleep
Overview
Enables sleep in the current Windows power plan by setting 'Sleep after' to a specified timeout for both AC and DC power.
Sample Run

Dependencies
- Agnostic Script - Get-PowerPlan
- Agnostic Script - Set-PowerPlan
- Solution - Disable Sleep
- Solution - Device Standards
Parameters
| Name | Example | Accepted Values | Required | Default | Type | Description | 
|---|---|---|---|---|---|---|
| AC Time Out Seconds | 1800 | False | 3600 | Integer | The timeout (in seconds) for sleep after on AC power. | |
| DC Time Out Seconds | 300 | False | 900 | Integer | The timeout (in seconds) for sleep after on DC power. | 
Automation Setup/Import
Output
- Activity Details