# Get-FileEncoding ## SYNOPSIS Get the file encoding of a given file. ## Script file Utils\Get-FileEncoding.ps1 ## SYNTAX ``` Get-FileEncoding [-Path] ``` ## DESCRIPTION Unknown source. ## EXAMPLES ### -------------------------- EXAMPLE 1 -------------------------- ``` dir -file | Get-FileEncoding ``` ## PARAMETERS ### -Path The path to the file to get the encoding for. ```yaml Type: Object Parameter Sets: (All) Aliases: FullName Required: True Position: 1 Default value: None Accept pipeline input: True (ByPropertyName, ByValue) Accept wildcard characters: False ``` ## INPUTS ## OUTPUTS ## NOTES ## RELATED LINKS