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

Commit 55a0ca6

Browse files
Merge pull request #401 from erwinvanhunen/dev
August 2016 Release
2 parents d612653 + 0da1391 commit 55a0ca6

File tree

8 files changed

+10
-3
lines changed

8 files changed

+10
-3
lines changed
80 KB
Binary file not shown.
80 KB
Binary file not shown.
88 KB
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Commands/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
// You can specify all the values or you can default the Build and Revision Numbers
4545
// by using the '*' as shown below:
4646
// [assembly: AssemblyVersion("1.0.*")]
47-
[assembly: AssemblyVersion("2.5.1606.3")]
48-
[assembly: AssemblyFileVersion("2.5.1606.3")]
47+
[assembly: AssemblyVersion("2.6.1608.0")]
48+
[assembly: AssemblyFileVersion("2.6.1608.0")]
4949
[assembly: InternalsVisibleTo("SharePointPnP.PowerShell.Tests")]

Documentation/SetSPOTenantSite.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
Office365 only: Uses the tenant API to set site information.
33
##Syntax
44
```powershell
5-
Set-SPOTenantSite [-Title <String>] [-Sharing <Nullable`1>] [-StorageMaximumLevel <Nullable`1>] [-StorageWarningLevel <Nullable`1>] [-UserCodeMaximumLevel <Nullable`1>] [-UserCodeWarningLevel <Nullable`1>] [-AllowSelfServiceUpgrade <Nullable`1>] [-Url <String>]
5+
Set-SPOTenantSite [-Title <String>] [-Sharing <Nullable`1>] [-StorageMaximumLevel <Nullable`1>] [-StorageWarningLevel <Nullable`1>] [-UserCodeMaximumLevel <Nullable`1>] [-UserCodeWarningLevel <Nullable`1>] [-AllowSelfServiceUpgrade <Nullable`1>] [-Owners <List`1>] [-Url <String>]
66
```
77

88

99
##Parameters
1010
Parameter|Type|Required|Description
1111
---------|----|--------|-----------
1212
|AllowSelfServiceUpgrade|Nullable`1|False|Specifies if the site administrator can upgrade the site collection|
13+
|Owners|List`1|False|Specifies owners to add as site collection adminstrators. Can be both users and groups.|
1314
|Sharing|Nullable`1|False|Specifies what the sharing capablilites are for the site. Possible values: Disabled, ExternalUserSharingOnly, ExternalUserAndGuestSharing, ExistingExternalUserSharingOnly|
1415
|StorageMaximumLevel|Nullable`1|False|Specifies the storage quota for this site collection in megabytes. This value must not exceed the company's available quota.|
1516
|StorageWarningLevel|Nullable`1|False|Specifies the warning level for the storage quota in megabytes. This value must not exceed the values set for the StorageMaximumLevel parameter|
@@ -30,3 +31,9 @@ This will set the title of the site collection with the URL 'https://contoso.sha
3031
PS:> Set-SPOTenantSite -Url https://contoso.sharepoint.com -Title 'Contoso Website' -StorageWarningLevel 8000 -StorageMaximumLevel 10000
3132
```
3233
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.
34+
35+
###Example 3
36+
```powershell
37+
PS:> Set-SPOTenantSite -Url https://contoso.sharepoint.com/sites/sales -Owners 'i:0#.f|membership|[email protected]'
38+
```
39+
This will set [email protected] as a site collection owner at 'https://contoso.sharepoint.com/sites/sales'.

0 commit comments

Comments
 (0)