PowerTip: Export PowerShell Cmdlet Information

Doctor Scripto

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

0 comments

Discussion is closed.

Feedback usabilla icon