Skip to content

Commit 34b76b7

Browse files
authored
Updated cmdlet to Register-SPOHubSite
Updated the cmdlet to Register-SPOHubSite instead of Register-PnPHubSite
1 parent 132567a commit 34b76b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/features/hub-site/create-hub-site-with-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Create SharePoint hub sites using PowerShell
33
description: Example code for creating a SharePoint hub site by using PowerShell.
4-
ms.date: 06/05/2020
4+
ms.date: 06/23/2020
55
localization_priority: Priority
66
---
77

@@ -46,10 +46,10 @@ First, we will create the marketing site that will serve as a hub site that othe
4646
https://contoso.sharepoint.com/sites/marketing
4747
```
4848

49-
3. Register the new marketing site as a hub site by using the [Register-PnPHubSite](https://docs.microsoft.com/powershell/module/sharepoint-online/register-spohubsite?view=sharepoint-ps) cmdlet:
49+
3. Register the new marketing site as a hub site by using the [Register-SPOHubSite](https://docs.microsoft.com/powershell/module/sharepoint-online/register-spohubsite?view=sharepoint-ps) cmdlet:
5050

5151
```powershell
52-
Register-PnPHubSite -Site https://contoso.sharepoint.com/sites/marketing
52+
Register-SPOHubSite -Site https://contoso.sharepoint.com/sites/marketing
5353
```
5454

5555
## Set properties and permissions on the hub site

0 commit comments

Comments
 (0)