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 Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram