Evotec

Project

PSWriteHTML

PSWriteHTML is an open-source PowerShell project with packages, release history, and working documentation.

Stars 995
Forks 114
Open issues 69
PowerShell Gallery downloads 7,436,513
Release v1.41.0
Language: PowerShell Updated: 2026-04-11

API Reference

Function

New-HTMLLogo

Namespace PSWriteHTML

Creates a new HTML logo with specified parameters.

Remarks

This function creates a new HTML logo using the provided parameters. It allows customization of the left and right logo names, strings, and the option to hide logos.

Examples

Authored help example

EXAMPLE 1


New-HTMLLogo -LogoPath "C:\Logos\logo.png" -LeftLogoName "CompanyA" -RightLogoName "CompanyB" -LeftLogoString "Company A Logo" -RightLogoString "Company B Logo"
        

Creates a new HTML logo with custom left and right logo names and strings.

EXAMPLE 2


New-HTMLLogo -LogoPath "C:\Logos\logo.png" -HideLogos
        

Creates a new HTML logo with logos hidden.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HTMLLogo [-HideLogos] [-LeftLogoName <String>] [-LeftLogoString <String>] [-LogoPath <String>] [-RightLogoName <String>] [-RightLogoString <String>] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Parameters

HideLogos SwitchParameter optionalposition: namedpipeline: False
Switch parameter to hide logos.
LeftLogoName String optionalposition: 1pipeline: False
The name of the left logo. Default is "Sample".
LeftLogoString String optionalposition: 3pipeline: False
The string for the left logo.
LogoPath String optionalposition: 0pipeline: False
The path to the logo.
RightLogoName String optionalposition: 2pipeline: False
The name of the right logo. Default is "Alternate".
RightLogoString String optionalposition: 4pipeline: False
The string for the right logo.