Summary: Use Windows PowerShell to write process information to a text file.
How can I use Windows PowerShell to document information about currently running processes by writing the information to a text file?
Use the Get-Process cmdlet and pipe the results to the Out-File cmdlet:
Get-Process | Out-File -FilePath c:\fso\process.txt