Publishing Site Template in SharePoint 2013

How many of you have tried saving publish site  as a template in SharePoint 2010 or 2013. Yeah ! You are spot on! It's not possible?!!!
 
SharePoint greets you with a typical error "Something Went Wrong ". Lets accept it gracefully and turn to our friend "Microsoft PowerShell"
 
$web = Get-SPWeb https://locaalhost/sites/PublishingSite
$web.AllProperties["SaveSiteAsTemplateEnabled"] = "true"
$web.Update()
 
It's pretty simple. Check out your solution gallery. There you can find publishing site template in wsp format.
 
Ebook Download
View all
Learn
View all