A PowerShell related post today: To create a list or library in SharePoint, you can do the following: $web = Get-SPWeb "http://serverUrl" $web.Lists.Add("List Title", "List description", "Template Name") Now, say you were creating lists based on the schema from another list: $web = Get-SPWeb "http://anotherServerUrl" $list = $eb.Lists.get_Item("List name") $listSchema = $list.SchemaXml The SchemaXml from […]
↧