r/PowerShell • u/mdowst • Sep 18 '19
Parenting Through PowerShell
My 8 year old decided to pretend to be sick so he would get sent home from school the other day. So after we finished all the work the teach gave us, I decided to make him some extra work. Since they are learning double digit addition I wrote a quick script that will generate a page with 25 problems on it. I kept printing him off new sheets until the end of the regular school day.
I thought I'd share it in case anyone else has a 2nd grader who likes to play hooky. https://www.dowst.dev/homework-double-digit-addition-without-carrying/
Does anyone else have any examples of parenting through PowerShell?
229
Upvotes
5
u/S1neW4ve Sep 19 '19
I once wrote some code to make sure my son didn't spend to much time on the PC.
He could spend X hours of pc-time a week and I also provided a script to check how many time he had left.
Worked great, because he had control over how he 'd like use that time, some weeks he used al his time in 2 days, other weeks he had some time left.
Also great to see of your kid can find your script in the startup folder, figures out how to use taskkill, and if he can clean up the logfile to cover up his tracks :-)