SaveSiteAsTemplateEnabled in SharePoint 2013

In SharePoint 2013 environment when you try to save a publishing site as sitetemplate you should get the following error message “The “Save site as template” action is not supported on this site".
In order to enable this, we can use either SharePoint Designer or PowerShell. In this blog, I will be taking the help of  PowerShell  to solve the problem.
Add-PSSnapin Microsoft.SharePoint.PowerShell
$site = Get-SPSite -Identity
$web = $site.RootWeb;
$web.SaveSiteAsTemplateEnabled = $true;
Now you can  redirect to see your publishing site saved as a template.




Happy Share Pointing :-)