Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Convert to UTF8
Get-ChildItem "C:\Users\gerhardl\Documents\My Received Files" -Filter *.log |
Foreach-Object {
$content = Get-Content $_.FullName
Get-Content $content | Set-Content -Encoding utf8 $content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.