fr-FR

SPOHideDefaultThemes

S’applique à : SharePoint Online

La documentation Microsoft de ces stratégies n’existe qu’en anglais : les descriptions ci-dessous ne sont pas traduites.

Specifies whether the default themes should be available.

The Set-SPOHideDefaultThemes cmdlet is used to specify whether the default themes that come with SharePoint should be included in the theme picker list. For example, you might want to create custom themes for your sites and then remove the default themes to ensure that all pages use your custom themes.

After creating the "Custom Cyan" theme, hiding the default themes leaves only the one custom theme in the themes list under Change the look.

Specify the setting as either $true to hide the default themes, or $false (the default setting) to allow use of the default themes.

Cmdlets disponibles

Paramètres

Nom Type Valeur par défaut Valeurs acceptées
HideDefaultThemes System.Boolean

Exemples

Example 1

Set-SPOHideDefaultThemes $true

In this example, the cmdlet hides the default themes.

Example 2

Set-SPOHideDefaultThemes $false

In this example, the cmdlet restores the default themes to the theme picker list.

Documentation Microsoft Learn