File tree Expand file tree Collapse file tree
reference/docs-conceptual/learn/ps101 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ as long as the counter variable `$i` is less than 5. It sleeps for a total of 10
160160
161161### Do
162162
163- There are two different ` do ` loops in PowerShell. ` Do Until ` runs while the specified condition is
164- false.
163+ There are two different ` do ` loops in PowerShell: ` do until ` and ` do while` . ` do until ` runs until
164+ the specified condition is false.
165165
166166The following example is a numbers game that continues until the value you guess equals the same
167167number that the ` Get-Random ` cmdlet generated.
@@ -239,7 +239,7 @@ Write-Output $date
239239Thursday, November 23, 2017 12:00:00 AM
240240```
241241
242- ## Break, Continue , and Return
242+ ## break, continue , and return
243243
244244The ` break ` keyword is designed to exit a loop and is often used with the ` switch ` statement. In
245245the following example, ` break ` causes the loop to end after the first iteration.
You can’t perform that action at this time.
0 commit comments