Skip to content

Latest commit

 

History

History
153 lines (116 loc) · 2.95 KB

Add-KshTenantHubSite.md

File metadata and controls

153 lines (116 loc) · 2.95 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Add-KshTenantHubSite

SYNOPSIS

Creates a new hub site.

SYNTAX

Add-KshTenantHubSite [-Description <String>] [-EnablePermissionsSync <Boolean>]
 [-HideNameInNavigation <Boolean>] [-LogoUrl <String>] -SiteCollectionId <Guid> -SiteCollectionUrl <String>
 -Title <String> [<CommonParameters>]

DESCRIPTION

The Add-KshTenantHubSite cmdlet adds a new hub site to the tenant. This cmdlet can be used only when connected to the SharePoint admin center.

EXAMPLES

Example 1

PS C:\> Add-KshTenantHubSite -SiteCollectionId '36a7d47b-c717-4647-99ca-59c8cd3cc71f' -SiteCollectionUrl 'https://example.sharepoint.com/sites/hub' -Title 'Hub Site'

Creates a new 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

-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

-SiteCollectionId

Specifies the site collection ID.

Type: Guid
Parameter Sets: (All)
Aliases:

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

-SiteCollectionUrl

Specifies the site collection URL.

Type: String
Parameter Sets: (All)
Aliases:

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

-Title

Specifies the title.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
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

None

OUTPUTS

Karamem0.SharePoint.PowerShell.Models.V1.HubSite

NOTES

RELATED LINKS