Multiple choice technology

Which CmdLet will get the full name, Creation Time and Last write time of all the files inside C:\Windows folder recursively.

  1. Get-ChildItem C:\Windows -Recurse | Format-List -Property FullName,CreationTime,LastWriteTime

  2. Get-ChildItem C:\Windows -Recursively | Format-List -Property FullName,CreationTime,LastWriteTime

  3. Get-Children C:\Windows -Recurse | Format-List -Property FullName,CreationTime,LastWriteTime

  4. Get- Children C:\Windows - Recursively | Format-List -Property FullName,CreationTime,LastWriteTime

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Get-ChildItem with -Recurse (not -Recursively) lists all files recursively. Format-List with -Property displays the specified properties. Piping (|) connects the commands. Options B and D use invalid -Recursively flag, C uses non-existent Get-Children cmdlet.