PowerShell – Get Text Encoding Type
Reference: https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/get-text-file-encoding
Reference: https://community.idera.com/database-tools/powershell/powertips/b/tips/posts/get-text-file-encoding