Set-SPOHubSite
设置名称、徽标和说明等中心网站信息。
语法
Set-SPOHubSite
[-Identity] <SpoHubSitePipeBind>
[-Title <string>]
[-LogoUrl <string>]
[-Description <string>]
[-SiteDesignId <guid>]
[-RequiresJoinApproval <bool>]
[<CommonParameters>]
说明
使用此 cmdlet 设置名称、徽标和说明等属性。 这些属性在 SharePoint 用户界面中为中心显示。
如果中心站点不存在,此 cmdlet 将返回“找不到文件”错误。
示例
示例 1
Set-SPOHubSite https://contoso.sharepoint.com/sites/Marketing `
-Title "Marketing Hub" `
-LogoUrl https://contoso.sharepoint.com/sites/Marketing/SiteAssets/hublogo.png `
-Description "Hub for the Marketing division"
此示例更新 SharePoint 用户界面中显示的中心的名称。 它还更新中心导航中使用的徽标,并为中心指定可选说明。
参数
-Description
中心网站说明。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Identity
中心网站的 URL。
Type: | SpoSitePipeBind |
Aliases: | HubSite |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-LogoUrl
要在中心导航中使用的徽标的 URL。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-RequiresJoinApproval
确定是否需要批准加入中心网站。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SiteDesignId
网站设计 ID,例如 db752673-18fd-44db-865a-aa3e0b28698e
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Title
中心网站的显示名称。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |