SDF-REP-01 โ Export-Csv¶
Purpose:
To export PowerShell output into a structured CSV file for reporting and archival.
๐งญ Script Example¶
Get-Process | Sort-Object CPU -Descending | Export-Csv -Path "cpu-usage.csv" -NoTypeInformation
๐ Output¶
- File:
cpu-usage.csv - Format: Comma-separated values
- Use: Open in Excel or any spreadsheet tool
๐ง Reflection¶
- Did the exported data match your live observation?
- Was the file readable and reusable?