r/PowerShell • • 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

67 comments sorted by

View all comments

Show parent comments

58

u/mdowst Sep 18 '19

They do, but it is not documented. Plus you could send the same command multiple times and receive a completely different result code for each one.

30

u/noobtastic31373 Sep 18 '19

Assuming you get a response at all

25

u/RandomSkratch Sep 18 '19

Damn UDP

29

u/GoodShitLollypop Sep 18 '19

I'd tell you a joke about UDP but you might not get it...

20

u/sorerutenshi Sep 18 '19

UDP packet bar walks a into

8

u/WadeEffingWilson Sep 19 '19

A TCP packet walks into a bar and says hi.
A TCP packet walks into a bar and says hi.
A TCP packet walks into a bar and says hi.
A TCP packet walks into a bar and says hi. The bartender says hello.

1

u/GoodShitLollypop Sep 19 '19

The onlooker surmises, "Rather chatty protocol, he is..."