Convert1252 Function to convert various character encodings to Windows-1252 Get-Childitem $file | Convertto-Win1252