Skip to content

Get-Awake

SYNOPSIS

Check if the "StayingAwake" background job is running.

SYNTAX

Get-Awake

DESCRIPTION

This function checks if a background job named "StayingAwake" is currently running. It uses the `Get-Job` cmdlet to retrieve the job status and outputs whether the job is running or not.

EXAMPLES

EXAMPLE 1

Get-Awake

Outputs whether the "StayingAwake" job is running or not.

PARAMETERS

INPUTS

OUTPUTS

NOTES