Powershell Command to Create List in SharePoint 2010

Here’s a sample  script that creates a list using the “Custom” List” template, and adds a column of the type “number” called “Number.”

$web = get-spweb

$web.Lists.Add(“LargeList”,”Big List”,$web.ListTemplates[“Custom List”])

$list = $web.Lists[“LargeList”]


You can add any columns you’d like, or not add my Number column

Leave a Reply

Your email address will not be published. Required fields are marked *