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

PowerTip: Save PowerShell Cmdlet Info as CSV File

$
0
0

Summary: Save Windows PowerShell cmdlet information as a .csv file.

Hey, Scripting Guy! Question How can I save information from a Windows PowerShell cmdlet as a .csv file so I can open it in Excel for processing?

Hey, Scripting Guy! AnswerPipe the Windows PowerShell cmdlet information to the Export-CSV cmdlet, specify the path to store the file,
          and use the –NoTypeInformation switch:

Get-Process | Export-Csv -Path c:\fso\proc.csv  –NoTypeInformation


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>