Scripting >> Powershell >> Syntax >>  Writing to a HTML or CSV file

Writing to HTML file ==================== $a = Get-Process $a | Convertto-Html -property Name,Path,Company > processes.htm Writing to CSV file $a = Get-Process $a | Select-Object Name, Path, Company | Export-Csv -path processes.csv