Get the file encoding of a given file.
Utils\Get-FileEncoding.ps1
Get-FileEncoding [-Path] <Object>
Unknown source.
dir -file | Get-FileEncoding
The path to the file to get the encoding for.
Type: Object
Parameter Sets: (All)
Aliases: FullName
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False