Sometimes we need to find the GUID of save site template.
Open Power shell management shell in administrator mode.
here is the power shell script that provide you the functionality. pate it.
$url = "http://localhost:mysite/"
$site= new-Object Microsoft.SharePoint.SPSite($url )
$loc= [System.Int32]::Parse(1033)
$templates= $site.GetWebTemplates($loc)
foreach ($child in $templates){ write-host $child.Name " " $child.Title}
click Enter. And you will get the list of site template with the GUID.
Enjoy
Subscribe to:
Post Comments (Atom)
-
Recently I was working with search bar in search result page where I encounter below error: Sorry, Something went wrong An error occurred...
-
Recently I was working on sending mail using smtp server where I stuck on below error: IIS/SMTP - emails are stuck in mailroot/Queue ...
-
One of our client wanted to show Employee Directory and our first suggestion was to build custom SPFx which will fetch data from Azure AD or...
No comments:
Post a Comment