It would have been nice if
had some actual examples. It does not have examples of even simple cases.
It does mention the opportunity to use Out-File cmdlet, but there are no examples.
This webpage has examples http://ss64.com/ps/syntax-redirection.html
This article discusses the topic http://www.johndcook.com/blog/2008/0...code-or-ascii/
Robert Robelo wrote:
> Different encoding. Cmd.exe's redirects stdout to file using the encoding
> set in chcp.
> PowerShell's redirection operators _always_ use Unicode encoding.
> You can pipe the statement's output to Add-Content or Out-File and use UTF8
> or ASCII encoding.
> Get-Help about_Redirection