Foros‎ > ‎Sharepoint‎ > ‎

Create list from list template - powershell command

publicado a la‎(s)‎ 4 feb. 2016 13:23 por Ignacio Gonzalez
$web = Get-SPWeb "http://site/myWeb/"
$site = Get-SPSite "http://site"
$listTemplates = $site.GetCustomListTemplates($web)
$list =  $listTemplates["TemplateName"]
$web.Lists.Add("List Name", "Description", $list)
Comments