Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
59 lines (42 sloc) 1.13 KB
external help file applicable title schema author ms.author ms.reviewer
sharepointonline.xml
SharePoint Online
Remove-SPOHubSiteAssociation
2.0.0
trent-green
trgreen

Remove-SPOHubSiteAssociation

SYNOPSIS

Removes a site from its associated hub site.

SYNTAX

Remove-SPOHubSiteAssociation [-Site] <SpoSitePipeBind>
[<CommonParameters>]

DESCRIPTION

Use this cmdlet to remove an association between a site and a hub site.

[!IMPORTANT] This cmdlet is currently in preview and is subject to change. It is not currently supported for use in production environments.

If the site or hub site doesn’t exist, this cmdlet returns a “File not found” error.

EXAMPLES

Example 1

Remove-SPOHubSiteAssociation https://contoso.sharepoint.com/sites/Research

This example removes the research site from the marketing hub site.

PARAMETERS

-Site

URL of the site to remove from the hub site.

Type: SpoSitePipeBind
Parameter Sets: (All)
Aliases: 
Applicable: SharePoint Online

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
You can’t perform that action at this time.