OCram85/DroneHelper
OCram85
/
DroneHelper
Archived
1
0
Fork 0
This repository has been archived on 2023-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
DroneHelper/docs/Test-FileBOM.md

1.1 KiB

external help file Module Name online version schema
ModuleRoot-help.xml DroneHelper 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.

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.

INPUTS

[None]

OUTPUTS

[bool]

NOTES