| Richard's profileRichard Siddaway's BlogPhotosBlogLists | Help |
|
November 30 Open a CSVPowerShell has great functionality for working with csv files. They make an excellent way of saving information generated by PowerShell - for instance Get-Process | Export-Csv data.csv -NoTypeInformation Having created a csv file how can we read it? It is possible to use Notepad but then the columns are not padded to the same width so the data can appear jumbled. Ideally we would want to use an application that generated a grid view - like excel. Excel is very easy to use for this $xl = New-Object -comobject "excel.application" Create an object for the Excel application. Open the csv file in a workbook and make it visible.
TrackbacksThe trackback URL for this entry is: http://richardsiddaway.spaces.live.com/blog/cns!43CFA46A74CF3E96!1899.trak Weblogs that reference this entry
|
|
|