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: ObjectParameter Sets: (All)Aliases: FullNameRequired: TruePosition: 1Default value: NoneAccept pipeline input: True (ByPropertyName, ByValue)Accept wildcard characters: False