Skip to content

New command: change classic site settings #124

@waldekmastykarz

Description

@waldekmastykarz

Change classic site settings.

  • command: spo site classic set -u|--url <url> -t|--title [title] --sharing [sharing] --resourceQuota [resourceQuota] --resourceQuotaWarningLevel [resourceQuotaWarningLevel] --storageQuota [storageQuota] --storageQuotaWarningLevel [storageQuotaWarningLevel] --allowSelfServiceUpgrade [allowSelfServiceUpgrade] --owners [owners] --lockState [lockState] --noScriptSite [noScriptSite] --wait
  • url - absolute site url, required
  • title - site title, optional
  • sharing - _Sharing capablilites for the site. Allowed values: Disabled|ExternalUserSharingOnly|ExternalUserAndGuestSharing|ExistingExternalUserSharingOnly, optional
  • resourceQuota - The quota for this site collection in Sandboxed Solutions units. This value must not exceed the company's aggregate available Sandboxed Solutions quota. The default value is 0. For more information, see Resource Usage Limits on Sandboxed Solutions in SharePoint 2010 : http://msdn.microsoft.com/en-us/library/gg615462.aspx, optional
  • resourceQuotaWarningLevel - The warning level for the resource quota. This value must not exceed the value set for the resourceQuota parameter, optional
  • storageQuota - The storage quota for this site collection in megabytes. This value must not exceed the company's available quota., optional
  • storageQuotaWarningLevel - The warning level for the storage quota in megabytes. This value must not exceed the values set for the storageQuota parameter, optional
  • allowSelfServiceUpgrade - Set to allow tenant administrators to upgrade the site collection
  • owners - List of users to add as site collection administrators. Doesn't remove existing users. Specified can be both users and groups, optional
  • lockState - Sets site's lock state. Allowed values Unlock|NoAdditions|ReadOnly|NoAccess. For more information see https://technet.microsoft.com/en-us/library/cc263238.aspx., optional
  • noScriptSite - boolean, Specifies if the site allows custom script or not. For more information see https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f., optional
  • wait - wait for the settings to be applied before completing the command
  • requires connection to the tenant admin site

For more information see: https://github.com/SharePoint/PnP-PowerShell/blob/59f19f26232e46b429687bfdfa10600258ef6bb7/Commands/Admin/SetTenantSite.cs

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions