| 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 |
Returns one or all custom font packages in the tenant.
Get-SPOFontPackage [[-Identity] <SPOFontPackagePipeBind>] [<CommonParameters>]
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.
Get-SPOFontPackageThis example returns all font packages in the tenant.
Get-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012This example returns the font package with the specified GUID.
Get-SPOFontPackage | Where-Object {$_.IsHidden -eq $false}This example returns all visible font packages (not hidden).
$fontPackage = Get-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012
$fontPackage.PackageJsonThis example retrieves a specific font package and displays its JSON configuration.
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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.