Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 35d476c

Browse files
committed
Fixed merge conflict, and added cmdlet example for setting site collection owner
1 parent b19819c commit 35d476c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Commands/Admin/SetTenantSite.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ namespace SharePointPnP.PowerShell.Commands
1919
[CmdletExample(
2020
Code = @"PS:> Set-SPOTenantSite -Url https://contoso.sharepoint.com -Title 'Contoso Website' -StorageWarningLevel 8000 -StorageMaximumLevel 10000",
2121
Remarks = @"This will set the title of the site collection with the URL 'https://contoso.sharepoint.com' to 'Contoso Website', set the storage warning level to 8GB and set the storage maximum level to 10GB.", SortOrder = 2)]
22+
[CmdletExample(
23+
Code = @"PS:> Set-SPOTenantSite -Url https://contoso.sharepoint.com/sites/sales -Owners 'i:0#.f|membership|[email protected]'",
24+
Remarks = @"This will set [email protected] as a site collection owner at 'https://contoso.sharepoint.com/sites/sales'.", SortOrder = 3)]
2225
public class SetTenantSite : SPOAdminCmdlet
2326
{
2427
[Parameter(Mandatory = false, HelpMessage = "Specifies the URL of the site", Position = 0, ValueFromPipeline = true)]

0 commit comments

Comments
 (0)