November 22nd, 2013

PowerTip: Export PowerShell Cmdlet Information

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to export cmdlet information to a text format other than .csv.

Hey, Scripting Guy! Question How can I export Windows PowerShell cmdlet information to a format other than .csv so I can use it in another application?

Hey, Scripting Guy! Answer Use the Export-CSV cmdlet and specify a different deliminiter. For example, if your application needs 
          a colon separator instead of a comma, you can use the following type of command:

Get-Process | Export-Csv -Path c:\fso\proc.csv -Delimiter ‘:’ -NoTypeInformation

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback