What are the results of the execution of the following code snippet?

$RunningProcesses = Get-Process

$RunningProcesses | ForEach-Object {

$memUsage = $_.PrivateMemorySize / 1024 /1024

If ( $memUsage -lt 50)

{

Write-Host $_.Name “: Using less than 50 MB of Memory”

}

Else

{

Write-Host $_.Name “: Using “ $memUsage “MB of Memory”

}

}

Question 8 options:

Output lists every running process using less than 50 MB of memory.

Output lists every running process and, if it's using less than 50 MB of memory, displays the amount of memory that the process is using.

Output lists every running process using more than 50 MB of memory.

Output lists every running process and, if it's using more than 50 MB of memory, displays the amount of memory that the process is usin

The correct answer is:

Output lists every running process and, if it's using less than 50 MB of memory, displays the amount of memory that the process is using.