Unregister-PnPHubSite

Unregisters a site as a hubsite

Syntax

Unregister-PnPHubSite
          -Site <SitePipeBind>
                               [-Connection <SPOnlineConnection>]

Description

Registers a site as a hubsite

Examples

------------------EXAMPLE 1------------------

Unregister-PnPHubSite -Site https://tenant.sharepoint.com/sites/myhubsite

This example unregisters the specified site as a hubsite

Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Site

The site to unregister as a hubsite

Type:SitePipeBind
Position:Named
Accept pipeline input:False
Accept wildcard characters:False