Set-SPOWebTheme

Legt das Design für eine SharePoint-Website fest.

Syntax

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

Beschreibung

Verwenden Sie dieses Cmdlet, um das benutzerdefinierte Design für eine Website festzulegen.

Beispiele

Beispiel 1

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

In diesem Beispiel wird das Design "Custom Cyan" auf die https://contoso.sharepoint.com/sites/Contoso1 Website festgelegt.

Parameter

-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

-Design

Name des Designs oder SPOTheme-Objekts

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

-Web

URL der Website

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