Summary: Save Windows PowerShell cmdlet information as a .csv file.
How can I save information from a Windows PowerShell cmdlet as a .csv file so I can open it in Excel for processing?
Pipe 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
0 comments