external help file | Module Name | online version | schema |
---|---|---|---|
Detextive.dll-Help.xml |
Detextive |
2.0.0 |
Determines a file's line endings.
Get-FileLineEndings [-Path] <String> [<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
This 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
, orPS
. - 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.