|
| 1 | +--- |
| 2 | +Module Name: PnP.PowerShell |
| 3 | +schema: 2.0.0 |
| 4 | +applicable: SharePoint Online |
| 5 | +online version: https://pnp.github.io/powershell/cmdlets/Get-PnPBrandCenterFont.html |
| 6 | +external help file: PnP.PowerShell.dll-Help.xml |
| 7 | +title: Get-PnPBrandCenterFont |
| 8 | +--- |
| 9 | + |
| 10 | +# Get-PnPBrandCenterFont |
| 11 | + |
| 12 | +## SYNOPSIS |
| 13 | +Returns the available fonts configured throught heBrand Center |
| 14 | + |
| 15 | +## SYNTAX |
| 16 | + |
| 17 | +### All |
| 18 | +```powershell |
| 19 | +Get-PnPBrandCenterFont [-Store <Tenant|OutOfBox|Site|All>] [-Connection <PnPConnection>] |
| 20 | +``` |
| 21 | + |
| 22 | +### Single |
| 23 | +```powershell |
| 24 | +Get-PnPBrandCenterFont -Identity <BrandCenterFontPipeBind> [-Store <Tenant|OutOfBox|Site|All>] [-Connection <PnPConnection>] |
| 25 | +``` |
| 26 | + |
| 27 | +## DESCRIPTION |
| 28 | +Allows retrieval of the available fonts from the various Brand Centers. |
| 29 | + |
| 30 | +## EXAMPLES |
| 31 | + |
| 32 | +### EXAMPLE 1 |
| 33 | +```powershell |
| 34 | +Get-PnPBrandCenterFont |
| 35 | +``` |
| 36 | + |
| 37 | +Returns all the available fonts |
| 38 | + |
| 39 | +### EXAMPLE 2 |
| 40 | +```powershell |
| 41 | +Get-PnPBrandCenterFont -Store Site |
| 42 | +``` |
| 43 | + |
| 44 | +Returns the available fonts from the site collection Brand Center |
| 45 | + |
| 46 | +### EXAMPLE 3 |
| 47 | +```powershell |
| 48 | +Get-PnPBrandCenterFont -Identity "My awesome font" |
| 49 | +``` |
| 50 | + |
| 51 | +Looks up and returns the font with the name "My awesome font" from any of the Brand Centers |
| 52 | + |
| 53 | +### EXAMPLE 4 |
| 54 | +```powershell |
| 55 | +Get-PnPBrandCenterFont -Identity "2812cbd8-7176-4e45-8911-6a063f89a1f1" |
| 56 | +``` |
| 57 | + |
| 58 | +Looks up and returns the font with the Identity "2812cbd8-7176-4e45-8911-6a063f89a1f1" from any of the Brand Centers |
| 59 | + |
| 60 | +## PARAMETERS |
| 61 | + |
| 62 | +### -Connection |
| 63 | +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](Get-PnPConnection.md). |
| 64 | + |
| 65 | +```yaml |
| 66 | +Type: PnPConnection |
| 67 | +Parameter Sets: (All) |
| 68 | + |
| 69 | +Required: False |
| 70 | +Position: Named |
| 71 | +Default value: None |
| 72 | +Accept pipeline input: False |
| 73 | +Accept wildcard characters: False |
| 74 | +``` |
| 75 | +
|
| 76 | +### -Identity |
| 77 | +Unique identifier of the font to be retrieved. This can be its guid, name or a BrandCenterFont object. If not specified, all the available fonts will be returned. |
| 78 | +
|
| 79 | +```yaml |
| 80 | +Type: BrandCenterFontPipeBind |
| 81 | +Parameter Sets: Single |
| 82 | + |
| 83 | +Required: True |
| 84 | +Position: Named |
| 85 | +Default value: None |
| 86 | +Accept pipeline input: True |
| 87 | +Accept wildcard characters: False |
| 88 | +``` |
| 89 | +
|
| 90 | +### -Store |
| 91 | +Indicates the source of the fonts to be retrieved. The following values are available: |
| 92 | +- Tenant: The fonts configured in the tenant Brand Center |
| 93 | +- Site: The fonts configured in the site collection Brand Center |
| 94 | +- OutOfBox: The out of box fonts available in the tenant |
| 95 | +- All: All the fonts available in the tenant, including the ones configured in the tenant and site collection Brand Center and the out of box fonts. |
| 96 | +
|
| 97 | +```yaml |
| 98 | +Type: Store |
| 99 | +Parameter Sets: (All) |
| 100 | + |
| 101 | +Required: False |
| 102 | +Position: Named |
| 103 | +Default value: All |
| 104 | +Accept pipeline input: False |
| 105 | +Accept wildcard characters: False |
| 106 | +``` |
| 107 | +
|
| 108 | +## RELATED LINKS |
| 109 | +
|
| 110 | +[Microsoft 365 Patterns and Practices](https://aka.ms/m365pnp) |
0 commit comments