Skip to content

Latest commit

 

History

History
106 lines (68 loc) · 2.74 KB

File metadata and controls

106 lines (68 loc) · 2.74 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-spofontpackage
applicable SharePoint Online
title Get-SPOFontPackage
schema 2.0.0
author JQ1u
ms.author luchaoqiu
ms.reviewer

Get-SPOFontPackage

SYNOPSIS

Returns one or all custom font packages in the tenant.

SYNTAX

Get-SPOFontPackage [[-Identity] <SPOFontPackagePipeBind>] [<CommonParameters>]

DESCRIPTION

This cmdlet retrieves one or more custom font packages in the tenant. Custom font packages include those created through the SharePoint Brand Center app or by using the Add-SPOFontPackage cmdlet. You can retrieve a specific font package by providing its identity, or retrieve all font packages if no identity is specified.

Font packages contain custom typography definitions that can be applied to SharePoint sites and Viva Connections for branding purposes.

EXAMPLES

EXAMPLE 1

Get-SPOFontPackage

This example returns all font packages in the tenant.

EXAMPLE 2

Get-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012

This example returns the font package with the specified GUID.

EXAMPLE 3

Get-SPOFontPackage | Where-Object {$_.IsHidden -eq $false}

This example returns all visible font packages (not hidden).

EXAMPLE 4

$fontPackage = Get-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012
$fontPackage.PackageJson

This example retrieves a specific font package and displays its JSON configuration.

PARAMETERS

-Identity

Applicable: SharePoint Online

Specifies the identity of the font package to retrieve. This can be the ID (GUID) of the font package, or a font package object. If not specified, all font packages will be retrieved.

Type: Microsoft.Online.SharePoint.PowerShell.SPOFontPackagePipeBind
Parameter Sets: (All)
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
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

Microsoft.Online.SharePoint.PowerShell.SPOFontPackagePipeBind

OUTPUTS

System.Object

NOTES

RELATED LINKS

Add-SPOFontPackage

Set-SPOFontPackage

Remove-SPOFontPackage