Handling PowerShell output objects
When you want to select a specific property (object) from PowerShell-output:
<PowerShell-command that produces PowerShell-object with interesting property> | Select-Object -ExpandProperty <property of interest>Piping comma-separated values to CSV-file:
| Export-Csv <path-to-CSV-file> -NoTypeInformation