Skip to content

Start-Awake

SYNOPSIS

Prevent the system from entering sleep mode by starting an "Awake" job.

SYNTAX

Start-Awake

DESCRIPTION

This function prevents the system from entering sleep mode by starting a background job that continuously resets the system's execution state. If the "Awake" job is already running, it notifies the user.

EXAMPLES

EXAMPLE 1

Start-Awake

Starts the "Awake" job to prevent the system from entering sleep mode.

PARAMETERS

INPUTS

OUTPUTS

NOTES