Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Create a CSV File in PowerShell

$
0
0

Summary: Learn how to easily create a CSV file in Windows PowerShell.

Hey, Scripting Guy! Question How can I create a CSV file so I can open data that I output to the Windows PowerShell console to manipulate it in Microsoft Excel?

Hey, Scripting Guy! Answer Pipe the data to the Export-CSV cmdlet and use the –NoTypeInformation switch, for example:

Get-Process | Select name, PM | export-csv -Path c:\fso\proc.csv -NoTypeInformation


Viewing all articles
Browse latest Browse all 3333

Trending Articles