PowerShell: Check File Encoding UTF7, UTF8, UTF16, UTF32, ASCII
$filePath='C:\Windows\System32\Drivers\etc\hosts' function getFileEncoding($filePath) { # Checking the byte order mark (BOM) or first 4 bytes…
0 Comments