Question: For Questions 7, 8, and 9, use the following PowerShell script. The line numbers are provided for reference and should not be typed in when

For Questions 7, 8, and 9, use the following PowerShell script. The line numbers are provided for reference and should not be typed in when you run this script: function Update-MyVar { $myVar = $myvar + 1 Write-Host "MyVar contains '$myVar'" 1: Wow OOOOWN WO $myVar = 1 Write-Host "MyVar contains '$myVar'" Update-MyVar Write-Host "MyVar contains '$myVar'" we 7. Write the PowerShell command that, when inserted between lines 2 and 3, will cause the output to match the following: MyVar contains 'l' MyVar contains '2' MyVar contains '2' ww PowerShell command
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
