PowerTip: Use PowerShell to Write Process Information to Text File

Doctor Scripto

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


Discussion is closed.

Feedback usabilla icon