Utf8 Bom Header Handling Module for PowerShell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
publish
src
tests
.gitignore
Dockerfile
LICENSE.md
README.md
appveyor.yml
build_psd1.ps1
deploy_pagallery.ps1
docker_build.bat
docker_build.sh
nodocker_appveyor.yml
run_build.ps1
run_test.ps1

README.md

Build status

Utf8BomHeader

PowerShell Module to check file BOM on Utf8.

  • Desktop
  • NetCore

Installation

Install-Module Utf8BomHeader -Scope CurrentUser

Functions

Function Description
Add-Utf8BomHeader Add BOM header to a file
Compare-Utf8BomHeader Compare two files BOM header status
Get-Utf8BomHeader Get header of a file
Remove-Utf8BomHeader Remove BOM header from a file
Test-Utf8BomHeader Test is BOM header is exists on a file

Usage

See Test

Ref

C# code : https://gist.github.com/guitarrapc/aac20b599e519e48656ca1ae6f642834