external help file | Module Name | online version | schema |
---|---|---|---|
SPClientCore.dll-Help.xml |
SPClientCore |
2.0.0 |
Creates a new list.
Add-KshList [-Description <String>] [-QuickLaunchOption <QuickLaunchOptions>] [-ServerRelativeUrl <String>]
[-Template <ListTemplateType>] -Title <String> [<CommonParameters>]
The Add-KshList cmdlet adds a new list to the current site.
PS C:\> Add-KshList -Description 'Check the updates' -QuickLaunchOption $true -ServerRelativeUrl 'Lists/Announcements' -TemplateType 'Announcements' -Title 'Announcements'
Creates a new list.
Specifies the description.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the quick launch options.
Type: QuickLaunchOptions
Parameter Sets: (All)
Aliases:
Accepted values: Off, On, DefaultValue
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the site relative URL.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the list template ID.
Type: ListTemplateType
Parameter Sets: (All)
Aliases:
Accepted values: NoListTemplate, GenericList, DocumentLibrary, Survey, Links, Announcements, Contacts, Events, Tasks, DiscussionBoard, PictureLibrary, DataSources, XmlForm, NoCodeWorkflows, WorkflowProcess, WebPageLibrary, CustomGrid, WorkflowHistory, GanttTasks, IssuesTracking, InvalidType
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the title.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.