Press any key to continue……powershell style.

Such a simple thing really, but so handy if you want to pause somewhere in a script to read some sort of output before continuing. One of the most common ways to pause a script is to use the Read-Host command like this: Press enter and you’re good to go. But, what if you would […]

Prevent Screen Sleep/Locking

There are lots of tools out there that do this very thing, but sometimes you just need to reinvent the wheel for…reasons. Also, this is a good way to do it if your only option is powershell. In the scripts current form it will do a “Shift+F15” keypress every 5 minutes for 8 hours.

WordPress Appliance - Powered by TurnKey Linux