Created
November 20, 2018 19:04
-
-
Save dsolodow/204d469499eed3d3c2d117a5e980bf33 to your computer and use it in GitHub Desktop.
Randomly select an IT pro answer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Get-WheelAnswer | |
{ | |
[string[]]$wheel = ( | |
"No.", | |
"Are you sure it's plugged in?", | |
"Move... I'll do it", | |
"Yes, just click OK", | |
"No, it's a scam, just delete it", | |
"The problem is on your end.", | |
"Yes, it's gone forever, that's what empty trash does.", | |
"Have you tried turning it off and back on again?" | |
) | |
$answer = Get-Random -Maximum $wheel.Count | |
Write-Host $wheel[$answer] -ForegroundColor Green | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment