Summary: Use Windows PowerShell to write process information to a text file.

Hey, Scripting Guy! Question How can I use Windows PowerShell to document information about currently running processes by writing the information to a text file?

Hey, Scripting Guy! Answer Use the Get-Process cmdlet and pipe the results to the Out-File cmdlet:

Get-Process | Out-File -FilePath c:\fso\process.txt