| 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/remove-spofontpackage |
| applicable | SharePoint Online |
| title | Remove-SPOFontPackage |
| schema | 2.0.0 |
| author | JQ1u |
| ms.author | luchaoqiu |
| ms.reviewer |
Removes a brand font package from the tenant.
Remove-SPOFontPackage [-Identity] <SPOFontPackagePipeBind> [<CommonParameters>]
This cmdlet removes a custom font package from the tenant. After removal, the font package will no longer be available for use on SharePoint sites or Viva Connections.
Note
Removing a font package does not delete the associated brand font files. Pages that already use the removed font package will continue to display the configured fonts, but you will no longer be able to modify the font package settings.
Remove-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012This example removes the font package with the specified GUID.
$fontPackage = Get-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012
Remove-SPOFontPackage -Identity $fontPackageThis example retrieves a font package and then removes it.
Get-SPOFontPackage | Where-Object {$_.IsHidden -eq $true} | Remove-SPOFontPackageThis example removes all hidden font packages from the SharePoint tenant.
Applicable: SharePoint Online
Specifies the identity of the font package to remove. This can be the ID (GUID) of the font package, or a font package object.
Type: Microsoft.Online.SharePoint.PowerShell.SPOFontPackagePipeBind
Parameter Sets: (All)
Aliases:
Required: True
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.