Add following to your existing command:
| Export-Csv -Path “mycsv.csv”
This command exports objects representing the processes on the computer to the mycsv.csv file in the current directory.
Add following to your existing command:
| Export-Csv -Path “mycsv.csv”
This command exports objects representing the processes on the computer to the mycsv.csv file in the current directory.