Skip to content

Instantly share code, notes, and snippets.

@SteveL-MSFT
Created June 4, 2020 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SteveL-MSFT/7f7610c7bbec526478637663e7763da3 to your computer and use it in GitHub Desktop.
Save SteveL-MSFT/7f7610c7bbec526478637663e7763da3 to your computer and use it in GitHub Desktop.
1..100|%{$_%15?$_%3?$_%5?$_ :'Buzz':'Fizz':'FizzBuzz'|Write-Host}
@peppekerstens
Copy link

drop the write-host. :)

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