Official Site
Microsoft Most Valuable Professional M365 Apps & Services
Microsoft Most Valuable Professional Business Applications
Consultant & Sr Cloud Solution Architect Modern Wokrplace
Find hereMore than 150 Articles about Microsoft Technologies on Modern Workplace
26 July 2023
In today's article I will show you using PowerShell how we can see what hub sites are but for our organization It is clear that it is not clear to everyone the difference between a simple site and a hub site .
So today in a very simple approach I will try to make it clear . A hub site is a node within your SharePoint Online environment Whenever we want to logically split a group of sites we need one of them to be the hub site the node where then again logically the hub site has the ability to interface with other hub sites The most representative example is the creation of an IT Department and therefore a SharePoint site and underneath it there could be a number of SharePoint sites which would be the sub-sites of the IT Department For example we could have a Networking subsection as well as a Developers subsection as well as a Modern Workplace subsection. So there should be a central site moderator that will be the ancestor of all these subsection sites and of course conceptually they will belong to the same node of the SharePoint architecture logic The child sites of the hub will inherit some features of their ancestor such as Navigation
There are several cases where it is not possible to locate the hub sites and the home site (if it has been properly set up) in a sharepoint environment when it is structured in an unstructured way Therefore today with a very simple Powershell we will see how to locate the hub sites and the home site (if any) in our tenant as long as we run the following PowerShell with administrator rights and as site the admin site of our tenant we run the following PowerShell and we have
# Declare Variables
$Sites = "https://mytenant-admin.sharepoint.com"
#Connect with SharePoint Online to your tenant
Connect-SPOService -Url $Sites
#Execute find hub sites in our tenant
Get-SPOHubSite
As you can see there is only two hub sites
More information on the official Microsoft Documentation site from Microsoft Learn
Microsoft Learn - Documentation - Get-SPOHomeSite Microsoft Learn - Documentation - Get-SPOHubSite #SharePoint #technology #microsoft #PowerShell #PnP #digitaltransformation #cloud #mvpbuzz #m365Visit Archives below to find more articles about Microsoft technologies on Modern Workplace