April 2019
Intermediate to advanced
372 pages
12h 47m
English
This recipe demonstrated the use of the ConvertTo-Csv, ConvertFrom-Csv, Export-Csv, and Import-Csv cmdlets to create two-dimensional tables from PowerShell objects.
The CSV export and import cmdlets are very straightforward. All first-level object properties will be exported by converting the object properties into strings. This usually means a loss of information if you consider data types such as collections and System.Diagnostics.ProcessStartInfo.
CSV files are especially useful if you want to hand over your exported data to people unfamiliar with PowerShell. CSV files can be opened in many popular spreadsheet applications to sort, group, or otherwise process data.
Read now
Unlock full access