Question 1
A service-account audit on Windows PowerShell 5.1 uses this pipeline: Get-CimInstance -ClassName Win32_Service | Format-Table Name, StartName, State | Export-Csv -Path .\services.csv The CSV contains formatting metadata instead of usable service records. The reviewer needs one row per service and only the three named properties. Which edit repairs the data flow?
Show answer & explanation
Correct answer: B - Replace Format-Table with Select-Object, retaining the same three properties.