I have a document library with item count above 6510 which exceed the list threshold. I have the doc lib to be saved a list template, WITHOUT content included. i tried it from library settings but it kept on loading and didnt execute.
Than i tried a powershell script and even it kept on executing, when i checked the server resource , powershell wasnt taking any resoruce. Is there any best way to execute it or my script needs to be fine tuned?
$site = get-spweb("mysiteurl") $list = $site.Lists["List_Name"] $list.SaveAsTemplate(“Incidents Forms Template”,”Inc Template”,”Template for arched data”,0)