Get-Process | Out-File -FilePath .\ProcessList.txt