all-webs-and-site-templates-1920x1080

View all webs and site templates under site collection

Advertisements
Advertisements

View all webs and site templates under site collection

We can get all webs and site templates under site collection by using the below small script.

$site = Get-SPSite “http://win2016:37344/sites/SPmcse”
foreach ($web in $site.AllWebs){
$web | Select-Object -Property Title,Url,WebTemplate
}
$site.Dispose()
all-webs-and-site-templates-1317x299
Advertisements
Advertisements
Advertisements