Script to Turn Off computer after download completes

I must admit, this scenario is a bit “fictional” for a programmer, but yet plausible (man, this term always makes me think of MythBusters and how fun that show was).

Yeah, see you in 20 minutes also.

Anyways, if it’s that only time in your career when you decide to go on a vacation, but just as you prepare to leave the house Microsoft announces a new SQL Server version is available and you “accidentally” start the download, this might help:

The script is available in GitHub at:

Leave a Comment