Table of Contents

Add-PnPBrandCenterFont

SYNOPSIS

Allows a font to be uploaded to the tenant Brand Center

SYNTAX

Add-PnPBrandCenterFont -Path <String> [-Visible <Boolean>] [-Connection <PnPConnection>] [-Verbose]

DESCRIPTION

This cmdlet allows a font to be uploaded to the tenant Brand Center. The font will be available for use in the tenant and site collection Brand Center.

Use Use-PnPBrandCenterFontPackage to apply the font to the current site.
Use Get-PnPBrandCenterFontPackage to retrieve the available fonts.

EXAMPLES

EXAMPLE 1

Add-PnPBrandCenterFont -Path c:\temp\MyAwesomeFont.ttf

This will upload the font MyAwesomeFont.ttf to the tenant Brand Center and will make it visible

EXAMPLE 2

Add-PnPBrandCenterFont -Path c:\temp\MyAwesomeFont.ttf -Visible:$false

This will upload the font MyAwesomeFont.ttf to the tenant Brand Center and will hide it from being used

PARAMETERS

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

The local file path to where the font is stored that needs to be uploaded

Type: String
Parameter Sets: (All)

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Visible

Indicates if the font should be visible in the Brand Center. The default is true.

Type: Boolean
Parameter Sets: (All)

Required: False
Position: Named
Default value: True
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices