Share via


Remove-SPOHubToHubAssociation

Removes the selected hub site from its parent hub.

Syntax

Default (Default)

Remove-SPOHubToHubAssociation
    [-HubSiteId] <Guid>
    [<CommonParameters>]

Description

Use this cmdlet to remove the selected hub site from its parent hub.

Examples

Example 1

Remove-SPOHubToHubAssociation -HubSiteId 6638bd4c-d88d-447c-9eb2-c84f28ba8b15

This example removes the site with the given id from its parent Hub.

Parameters

-HubsiteId

Applicable: SharePoint Online

Id of the Hub site to be removed from its parent Hub.

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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

Inputs

System.Guid

Outputs

System.Object