July 2018
Beginner
552 pages
13h 18m
English
We start with the CSV file extension, as this is the most basic one. We will make use of the previous example, where we stored the currently running processes to file:
#Defining file for export$exportedFile = 'C:\temp\exportedProcesses.csv'#Exporting as CSV - basicGet-Process | Export-Csv $exportedFile#Opening the filepsedit $exportedFile
After running this simple example, you will have the opened CSV file in front of you, which consists of all the processes and each value, separated by commas. And that is what CSV actually stands for: comma-separated values. The benefit of working with CSV files is that you will get table-like custom objects returned, which can easily be filtered. This file type makes sense, especially for simple data ...
Read now
Unlock full access