What is the output after executing the following PowerShell script?

for ($i=1; $i -lt 5; $i++)
{
if ($i % 2 -eq 0)
{
continue
}
write-host $i
}

1,2,3,4,5

1,3

2,4

1,3,5

Verified Answer
Correct Option - b

To get all Infosys Certified PowerShell Scripting Associate Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in