Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Write Process Information to Text File

$
0
0

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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>