Back to script samples page
Export data results to a CSV file

With most PowerShell commands, by adding on export-csv attribute, you can export the results directly into a .csv file. In this example, replace the Command with the command you want to run and ExportFileName

#Export data results to a CSV file.

#With most PowerShell commands, by adding on export-csv attribute, you can export the results directly into a .csv file. In this example, replace the Command with the command you want to run and ExportFileName.csv with an appropriate file name.
<Command> | export-csv <ExportFileName.csv>
Downloaded 0 times
- - - - - (0)
Comments

No Comments