I have a bunch of sites in which I would like to change the default Page Layout.
Is there a way to set this to a custom Page Layout using powershell? (The page layout is already on all the sites)
So far I've come up with this, but I'm not sure how to proceed:
$web = Get-SPWeb -Identity "http://whatever/" $pubWeb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($web) $pubWeb.DefaultPageLayout = ?