Skip to content

mussadiqbasha/screenawake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

How to keep Windows PC screen awake

By using the powershell script you can keep the Window PC screen awake. The script will open the notepad and print the number.

How to run the powershell script

Simple way is to just copy screenAwake.ps1 and paste in your powershell

Also you can save the file screenAwake.ps1 and call whenever is required
e.g. screenAwake.ps1 30

You can pass the param in minutes(as shown above for 30 mins), if param is not passed it will by default 60 mins.

Sample

Option 1: Copy and pasting the script
image

Option 2: Save the script and call using the powershell

Note: If the execution policy is enabled, then you can use the command powershell -ExecutionPolicy Bypass -File .\screenAwake.ps1 orelse you can directly call the script .\screenAwake.ps1

image

About

Powershell script to keep the Windows PC screen awake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors