New-SPOList

Synopsis

Creates a List based on a list template inside a Parent Web

Syntax

New-SPOList -Web <Web> -Title <String> [-Description <String>] -ListTemplate <String> -Url <String> [-FeatureId <String>] [<CommonParameters>]

Description

Parameters

-Web <Web>

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Title <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Description <String>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-ListTemplate <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Url <String>

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-FeatureId <String>

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Create a new document library

PS C:\> New-SPOList -Web $ctx.Web -Title "My Documents" -Description "A shiny new document library" -ListTemplate Document -Url mydocuments

Related links

Last edited Aug 5, 2014 at 1:06 AM by provokesolutions, version 9

Comments

No comments yet.