Quote Originally Posted by spiceymeme View Post
Made a little powershell script for people who don't have a Linux box -

Code:
...Microsofty bits...
Downloads a chewy wav file, then checks every 30 seconds to see if it's up, down, or locked. If it's up it'll play the chewy sound (every 30 seconds). If you hit ctrl+c it'll end it.

To use this just copy (ctrl+c) the code and open notepad. Paste it into notepad, then save that as "CheckSwg.ps1" (without the quotes) - you should save it to your documents or something. Can't just upload it somewhere for download, Windows will understandably complain if you download a powershell script and try to run it. Obviously run at your own risk, but you can clearly read what it's doing there.

Then browse to wherever you saved it (preferably your Documents) and right click it, and click "Run With Powershell" and a window will open and start checking every 30 seconds.

Edit: fixed a bug
Two things:
1. If that "Chewy wav file" isn't really Rick Astley I'd be upset.
2. This is maybe useful, if you want to be alerted when not around to get rick-rolled: https://www.pdq.com/blog/powershell-...message-gmail/

Quote Originally Posted by Vlada View Post
They don't need to go out to drink. Drinking at home is perfectly acceptable.
Obligatory relevant xkcd.