Create classic site.
- command:
spo site classic add -u|--url <url> -t|--title <title> -d|--description [description] --owner <owner> -z|--timeZone <timeZone> -l|--lcid [lcid] -w|--webTemplate [webTemplate] --resourceQuota [resourceQuota] --resourceQuotaWarningLevel [resourceQuotaWarningLevel] --storageQuota [storageQuota] --storageQuotaWarningLevel [storageQuotaWarningLevel] --removeDeletedSite --wait
url - absolute site url, required
title - site title, required
description - site description, optional
owner - account name of the site owner, required
timeZone - integer representing time zone to use for the site, required
lcid - Site language. For more information, see Locale IDs Assigned by Microsoft: https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splanguage.lcid.aspx, optional, default 1033
webTemplate - site template, optional, default STS#0
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, default 0
resourceQuotaWarningLevel - The warning level for the resource quota. This value must not exceed the value set for the resourceQuota parameter, optional, default 0
storageQuota - The storage quota for this site collection in megabytes. This value must not exceed the company's available quota., optional, default 100
storageQuotaWarningLevel - The warning level for the storage quota in megabytes. This value must not exceed the values set for the storageQuota parameter, optional, default 100
removeDeletedSite - set to remove existing deleted site with the same URL from the Recycle Bin
wait - wait for the site to be provisioned before completing the command
- requires connection to tenant admin site
For more information see:
https://github.com/SharePoint/PnP-PowerShell/blob/59f19f26232e46b429687bfdfa10600258ef6bb7/Commands/Admin/NewTenantSite.cs
Create classic site.
spo site classic add -u|--url <url> -t|--title <title> -d|--description [description] --owner <owner> -z|--timeZone <timeZone> -l|--lcid [lcid] -w|--webTemplate [webTemplate] --resourceQuota [resourceQuota] --resourceQuotaWarningLevel [resourceQuotaWarningLevel] --storageQuota [storageQuota] --storageQuotaWarningLevel [storageQuotaWarningLevel] --removeDeletedSite --waiturl- absolute site url, requiredtitle- site title, requireddescription- site description, optionalowner- account name of the site owner, requiredtimeZone- integer representing time zone to use for the site, requiredlcid- Site language. For more information, see Locale IDs Assigned by Microsoft: https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splanguage.lcid.aspx, optional, default1033webTemplate- site template, optional, defaultSTS#0resourceQuota- 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, default0resourceQuotaWarningLevel- The warning level for the resource quota. This value must not exceed the value set for theresourceQuotaparameter, optional, default0storageQuota- The storage quota for this site collection in megabytes. This value must not exceed the company's available quota., optional, default100storageQuotaWarningLevel- The warning level for the storage quota in megabytes. This value must not exceed the values set for thestorageQuotaparameter, optional, default100removeDeletedSite- set to remove existing deleted site with the same URL from the Recycle Binwait- wait for the site to be provisioned before completing the commandFor more information see:
https://github.com/SharePoint/PnP-PowerShell/blob/59f19f26232e46b429687bfdfa10600258ef6bb7/Commands/Admin/NewTenantSite.cs