Remove-SPOFontFile
Removes a brand font file from the tenant's brand fonts library.
Syntax
Default (Default)
Remove-SPOFontFile
[-Name] <string>
[<CommonParameters>]
Description
This cmdlet removes a custom font file from the tenant's brand fonts library. The font file is deleted from the primary geo and all satellite geos. After removal, the font file will no longer be available for use.
Note
This operation is only allowed on the primary geo location. Attempting to remove a font file from a satellite geo will result in a warning. Pages that already use the removed font file will remain readable and the font will automatically fall back to Segoe UI. The font packages that use the deleted font file will not be automatically updated or deleted.
Examples
EXAMPLE 1
Remove-SPOFontFile -Name "Tahoma.ttf"
This example removes the font file "Tahoma.ttf" from the brand fonts library across all geo locations.
Parameters
-Name
Applicable: SharePoint Online
Specifies the name of the font file to remove
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
System.String
Outputs
Microsoft.Online.SharePoint.PowerShell.BrandFontFileDeleteResult
Returns an array of BrandFontFileDeleteResult objects containing the deletion status for each geo location.