1.将指定文件装换为utf-8
set "file=C:\Users\Administrator\Desktop\aws\ou.txt"
powershell ^
$txt = gc -LiteralPath '%file%';^
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding $False;^
[System.IO.File]::WriteAllLines('%file%', $txt, $Utf8NoBomEncoding);