Skip to content

Commit f664ebb

Browse files
committed
Improving documentation for Register-SPOHubSite cmdlet
1 parent 4e9b4f3 commit f664ebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Register-SPOHubSite.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ Use this cmdlet to register an existing site collection as a hub site.
3434
### Example 1
3535

3636
```
37-
Register-SPOHubSite https://contoso.sharepoint.com/sites/Marketing
37+
Register-SPOHubSite https://contoso.sharepoint.com/sites/Marketing -Principals $null
3838
```
3939

40-
This example registers the marketing site on Contoso as hub site.
40+
This example registers the marketing site on Contoso as hub site without setting any principals for it.
4141

4242
## PARAMETERS
4343

@@ -58,7 +58,7 @@ Accept wildcard characters: False
5858
```
5959
6060
### -Principals
61-
Specifies One or more principles to be granted rights to the specified HubSite.
61+
Specifies One or more principles (user or group) to be granted rights to the specified HubSite. Can be used to filter who can associate sites to this hub site.
6262
6363
```yaml
6464
Type: string[]

0 commit comments

Comments
 (0)