Skip to content

Latest commit

 

History

History
184 lines (140 loc) · 3.4 KB

Set-KshTenantHubSite.md

File metadata and controls

184 lines (140 loc) · 3.4 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Set-KshTenantHubSite

SYNOPSIS

Updates a hub site.

SYNTAX

Set-KshTenantHubSite [-Identity] <HubSite> [-Description <String>] [-EnablePermissionsSync <Boolean>]
 [-HideNameInNavigation <Boolean>] [-LogoUrl <String>] [-ParentHubSiteId <Guid>] [-Title <String>] [-PassThru]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Set-KshTenantHubSite cmdlet updates properties of the hub site. This cmdlet can be used only when connected to the SharePoint admin center.

EXAMPLES

Example 1

PS C:\> Set-KshTenantHubSite -Identity (Get-KshTenantHubSite -HubSiteUrl 'https://example.sharepoint.com/sites/hub') -Title 'Hub site'

Updates property values of the hub site.

PARAMETERS

-Description

Specifies the description.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-EnablePermissionsSync

Specifies whether to enable permissions sync.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HideNameInNavigation

Specifies whether to hide name in navigation.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identity

Specifies the hub site.

Type: HubSite
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-LogoUrl

Specifies the logo URL.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ParentHubSiteId

Specifies the parent hub site ID.

Type: Guid
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PassThru

If specified, returns the updated object.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Title

Specifies the title.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider.

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Karamem0.SharePoint.PowerShell.Models.V1.HubSite

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.HubSite

NOTES

RELATED LINKS