A system Administrator wants to display all the executable files(.exe) in location “C:\Windows” whose size is greater than 1MB. Select the appropriate option from below which suits Administrators requirement.

Get-ChildItem "C:\Windows"|where{$_.Name -like "*.exe" -and Size -gt 1Mb}

Get-ChildItem "C:\Windows"|where{$_.Name -like *.exe -and $_.Size -gt 1024Kb}

Get-ChildItem "C:\Windows"|where{$_.Name -like "*.exe" -and $_.Length -gt 1Mb}

Get-ChildItem "C:\Windows"|where{$_.Name -like "*.exe" -and $_.Size -gt 1Mb}

Verified Answer
Correct Option - c

To get all Infosys Certified Full Stack System Administrator - Windows - Intermediate Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram