Set-SPOWebTheme

Imposta il tema per un sito di SharePoint.

Sintassi

Set-SPOWebTheme
   [-Theme] <SpoThemePipeBind>
   [-Web] <SpoSitePipeBind>
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Descrizione

Usare questo cmdlet per impostare il tema personalizzato per un sito

Esempio

Esempio 1

Set-SPOWebTheme -Theme "Custom cyan" -Web https://contoso.sharepoint.com/sites/Contoso1

In questo esempio il tema "Custom Cyan" viene impostato sul https://contoso.sharepoint.com/sites/Contoso1 sito.

Parametri

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Theme

Nome del tema o dell'oggetto SPOTheme

Type:SpoThemePipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Online

-Web

URL del sito

Type:SpoSitePipeBind
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online