Asked by Catherine Renshaw on May 29, 2024

verifed

Verified

Which type of loop is used in the following commands from a PowerShell script?
PS> while($val -ne 7)
{
$val++
Write-Host $val
}
[ for | while | iterative | endless ]

Loop

In scripting, a method of repeating something.

PowerShell

A Windows technology that helps technicians and network administrators automate support functions through the use of scripts and snippets.

Iterative

Iterative refers to a process that repeats steps to achieve a desired outcome, often used in software development to progressively refine and improve the product.

  • Acquire knowledge of primary operators and their functions in scripting languages.
verifed

Verified Answer

CY
Chinnapareddy YeruvaJun 01, 2024
Final Answer :
While