New-SPOList

Creates a new list within an existing Site.

New-SPOList -Web <SPOWebPipeBind> -Url <String> -Title <String> [-Description [<String>]] [-CustomSchemaXml [<String>]] [-DocumentTemplateType [<Int32>]] [-QuickLaunchOption [<QuickLaunchOptions>]] [-TemplateType [<Int32>]] [-TemplateFeatureId [<Guid>]] [-DataSourceProperties [<Dictionary`2>]]

Parameters

1

ParameterRequiredTypeDescription
WebTrueSPOWebPipeBind

Specifies the identity of the Site to create the new List within.

The type must be a valid server relative URL, in the form /site_name, or an SPOWeb object, Microsoft.SharePoint.Client.Web object, or GUID representing the Site ID.

UrlTrueString

The URL name of the List to create. If creating a new List at "http://contoso.sharepoint.com/site1/Lists/MyList" then specify a value of "Lists/MyList".

TitleTrueString

Specifies the title of the new List.

DescriptionFalseString

Describes the new List. If no description is specified, the entry is left blank.

CustomSchemaXmlFalseString

Sets a value that specifies the List schema of the new List.

DocumentTemplateTypeFalseInt32

Sets a value that specifies the identifier of the document template for the new List.

QuickLaunchOptionFalseQuickLaunchOptions

Sets a value that specifies whether the new List is displayed on the Quick Launch of the Site.

TemplateTypeFalseInt32

Sets a value that specifies the List server template of the new List.

TemplateFeatureIdFalseGuid

Sets a value that specifies the Feature identifier of the Feature that contains the List schema for the new List.

DataSourcePropertiesFalseDictionary`2

Sets a value that specifies the properties of the data source of the new List.

Detailed Description

Creates a new list within an existing Site.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

------------------EXAMPLE------------------

PS C:\> New-SPOList -Web "/" -Url "Lists/MyNewList" -TemplateType 100 -Title "My New List"

This example creates a new list with the URL name of Lists/MyNewList under the root Site of the current Site Collection.