-
Notifications
You must be signed in to change notification settings - Fork 0
Get FileLineEndings
Determines a file's line endings.
Get-FileLineEndings [-Path] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Get-FileLineEndings README.md
Path : A:\Detextive\README.md
LineEndings : CRLF
CRLF : 48
LF : 0
CR : 0
NEL : 0
LS : 0
PS : 0
StringValue : A:\Detextive\README.md: CRLF
The location of a file.
Type: String
Parameter Sets: (All)
Aliases: FullName
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Path * `string`: The full path of the file. LineEndings * `LineEndingType`: The file's indent style: `None`, `Mixed`, `CRLF`, `LF`, `CR`, `NEL`, `LS`, or `PS`. CRLF * `int`: The number of lines ending with a Windows-style U+000D carriage return and U+000A line feed. LF * `int`: The number of lines ending with a Linux/BSD-style U+000A line feed. CR * `int`: The number of lines ending with an old-Mac-style U+000D carriage return. NEL * `int`: The number of lines ending with a Unicode U+0085 next line character. LS * `int`: The number of lines ending with a Unicode U+2028 line separator character. PS * `int`: The number of lines ending with a Unicode U+2029 paragraph separator character. StringValue * `string`: A summary of the file line endings.