59 lines
1.1 KiB
Markdown
59 lines
1.1 KiB
Markdown
|
---
|
||
|
external help file: ModuleRoot-help.xml
|
||
|
Module Name: DroneHelper
|
||
|
online version:
|
||
|
schema: 2.0.0
|
||
|
---
|
||
|
|
||
|
# Test-FileTailingWhitespace
|
||
|
|
||
|
## SYNOPSIS
|
||
|
Returns false if there are any tailing whitespace in lines.
|
||
|
|
||
|
## SYNTAX
|
||
|
|
||
|
```
|
||
|
Test-FileTailingWhitespace [-Path] <String> [<CommonParameters>]
|
||
|
```
|
||
|
|
||
|
## DESCRIPTION
|
||
|
Tests the given file for tailing whitespace.
|
||
|
Returns true if not found.
|
||
|
|
||
|
## EXAMPLES
|
||
|
|
||
|
### EXAMPLE 1
|
||
|
```
|
||
|
Test-FileTailingWhitespace.ps1 -Path './testfile.txt'
|
||
|
```
|
||
|
|
||
|
## PARAMETERS
|
||
|
|
||
|
### -Path
|
||
|
Relative or full path to an existing file.
|
||
|
|
||
|
```yaml
|
||
|
Type: String
|
||
|
Parameter Sets: (All)
|
||
|
Aliases:
|
||
|
|
||
|
Required: True
|
||
|
Position: 1
|
||
|
Default value: None
|
||
|
Accept pipeline input: False
|
||
|
Accept wildcard characters: False
|
||
|
```
|
||
|
|
||
|
### CommonParameters
|
||
|
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
|
||
|
|
||
|
## INPUTS
|
||
|
|
||
|
### [none]
|
||
|
## OUTPUTS
|
||
|
|
||
|
### [bool]
|
||
|
## NOTES
|
||
|
|
||
|
## RELATED LINKS
|