Full Transcript

# Basics of Scripting (3 of 3) | Command | Purpose | |---|---| | $i = 0 | Defines an integer value i that is assigned the value 0 | | While ($i -lt 3) | Continues looping as long as the variable is less than 3 | | { | Defines the beginning of the loop | | Write-output "Hello World" | Displays "Hell...

# Basics of Scripting (3 of 3) | Command | Purpose | |---|---| | $i = 0 | Defines an integer value i that is assigned the value 0 | | While ($i -lt 3) | Continues looping as long as the variable is less than 3 | | { | Defines the beginning of the loop | | Write-output "Hello World" | Displays "Hello World" | | $i++ | Adds one to the i variable | | } | Defines the end of the loop |

Use Quizgecko on...
Browser
Browser