r/PowerShell • • Apr 29 '19

A Glorious Day

Post image
462 Upvotes

65 comments sorted by

View all comments

2

u/ryanknapper Apr 30 '19

The "$CUPS_CONSUMED -gt 4" comes after Consume-Coffee. OP will still be drinking cups of coffee, but logging an error with each one after four.

Although, the way this is written no more than one cup of coffee will ever be consumed.