iwishportalwasreal

PowerShell while loop 01.

Jan 8th, 2019
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #2018-06-05 Tue 9a.
  2. #simple while loop that prints 1-9 as output
  3. $a=0
  4. $b=1
  5. $c=2
  6. While ( $b -lt 10 )
  7. {
  8. Write-Host $b
  9. $b = $b+1
  10. }
Advertisement
Add Comment
Please, Sign In to add comment