Summary : Learn how to control text-file encoding with Windows PowerShell.
How can I ensure that a file is encoded with Unicode when I write to it?
Use the Out-File cmdlet, and specify the appropriate value for the –Encoding parameter:
Get-Process… Read the full text.