Skip to content

Stop-Awake

SYNOPSIS

Stop the "Awake" job that prevents the system from entering sleep mode.

SYNTAX

Stop-Awake

DESCRIPTION

This function stops the "Awake" background job, which prevents the system from entering sleep mode. If the job is running, it terminates and removes it. If the job is not running, it notifies the user.

EXAMPLES

EXAMPLE 1

Stop-Awake

Stops the "Awake" job if it is running and allows the system to enter sleep mode.

PARAMETERS

INPUTS

OUTPUTS

NOTES