Question: { string } $a = Read - Host Enter your username if ( $a - eq W 0 8 4 6 1 7 3

{string}$a = Read-Host "Enter your username"
if ($a -eq "
W0846173Onyscc.ca")
{string}$b = Read-Host "Enter password"
if $b-eq "RANVEER1234"
elseif ($b)b
Write-Host "Welcome ranveer to your college"
}
else{Write-Host "wrong password"}
EMS 2 OUTPUT TERMINAL DEBUG CONSOLE
ine:3 char:9
tring}$a = Read-Host "Enter your username"
 {string}$a = Read-Host "Enter your username" if ($a -eq " W0846173Onyscc.ca")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!