Add-SPOHubToHubAssociation
Associates a hub site to a hub site. Note: This feature is currently in preview and may not be available in your tenant.
Syntax
Default (Default)
Add-SPOHubToHubAssociation
[-Source] <Guid>
-Target <Guid>
[<CommonParameters>]
Description
Use this cmdlet to associate a hub site to a hub site.
Examples
Example 1
Add-SPOHubToHubAssociation -Source 7b6fd3a3-b029-4eb0-8e00-ba4a3949807d -Target 43a36572-37ec-45c3-9058-061a2db4cd26
This example associates the source hub site with the HubSiteId 7b6fd3a3-b029-4eb0-8e00-ba4a3949807d with the target hub site with the HubSiteId 43a36572-37ec-45c3-9058-061a2db4cd26.
Parameters
-Source
Applicable: SharePoint Online
HubSiteId of the Source Hub site to be associated with the Target Hub Site.
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 |
-Target
Applicable: SharePoint Online
HubSiteId of the Target Hub to associate the source Hub to.
Parameter properties
Type: | System.Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
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
Notes
SPOHubToHubAssociation is just a placeholder and not yet ready for production.