How to keep desktop awake
The following script will keep your desktop awake,It basically sends caps lock signal to the system periodically.
Just copy the code and save it as a power shell (.ps1) file and execute it. If you face any permission issue''s while executing this , then simply open "Windows PowerShell ISE" and copy the code.
Just copy the code and save it as a power shell (.ps1) file and execute it. If you face any permission issue''s while executing this , then simply open "Windows PowerShell ISE" and copy the code.
<#Read Me: Developed By: Name:Vaneeswaran N www.vaneeswaran.com #> $myshell = New-Object -com "Wscript.Shell" for (;;) { Start-Sleep -Seconds 60 $myshell.sendkeys("{NUMLOCK}") }