Marco Blessing
6a314eeb48
All checks were successful
continuous-integration/drone/push Build is passing
#### 📖 Summary - Adds `platyPS` generated docs - Converted CRLF output into LF - linked global readme file in module page #### 📑 Test Plan > 💡 Select your test plan for the code changes. - [x] Tested via Drone.io pipeline - [ ] Custom test - [ ] No test plan ##### Details / Justification <!-- Add your test details or justification for missing tests here. --> #### 📚 Additional Notes <!-- A place for additional detail notes. --> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: #5
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-FileBOM
|
|
|
|
## SYNOPSIS
|
|
Tests given file if native utf8 w/o BOM is used.
|
|
Returns false if BOM is present.
|
|
|
|
## SYNTAX
|
|
|
|
```
|
|
Test-FileBOM [-Path] <String> [<CommonParameters>]
|
|
```
|
|
|
|
## DESCRIPTION
|
|
This function is used to test for a valid encoding without BOM.
|
|
|
|
## EXAMPLES
|
|
|
|
### EXAMPLE 1
|
|
```
|
|
Test-FileBOM -Path './Testfile.txt'
|
|
```
|
|
|
|
## PARAMETERS
|
|
|
|
### -Path
|
|
Full or relative path to 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
|