Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
1..100|%{$_%15?$_%3?$_%5?$_ :'Buzz':'Fizz':'FizzBuzz'|Write-Host}

This comment has been minimized.

Copy link

@peppekerstens peppekerstens commented Jun 7, 2020

drop the write-host. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment