PowerShell Friday Fun

How many days do you have where the below describes the standard routine?

While ($SELF.FullyCaffinated -ne $True) 
    Get-Coffee | Remove-Coffee 


I have also been known to reference this when delivering Microsoft workshops in the preamble to break time....




Comments (6)

  1. turbomcp says:

    i tried running it and got out of coffee exception

    1. Oh no! Better that debugged ASAP!


  2. This always goes into an infinite loop. I had to replace $SELF.FullyCaffinated by $SELF.FullyCaffeinated. Now it stops sometimes in the morning.

      1. Since its you, I added a free dot for you! Or full stop. Or period.

        Whatever you want to call it…….

        1. This is so generous of you.

Skip to main content