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
3
u/insufficient_funds Sep 18 '19 edited Sep 18 '19
so I dropped your script into ISE and got a number of errors. Not sure if I copied it out wrong or what though... I think some formatting got screwey and is messing with it.
edit: i changed the $bodytop = @" to start the '.xl65' on a new line and that looks to have fixed it.