Advertisement
C4BU

Powershell Number Picker

Aug 22nd, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $PBR = Get-random -Maximum 26 -Minimum 1
  2. $PB = foreach ($i in 1..5) {
  3. Get-random -Maximum 69 -Minimum 1
  4. }
  5. Write-Host ""
  6. Write-Host "`t Powerball Lucky Numbers"
  7. write-host `t $pb "PowerBall " -NoNewline
  8. write-host $PBR -ForegroundColor Red
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement