fbpx

In SharePoint 2010 publishing site you can choose the default page for that site. In the following example I will show you how you can change the default page of publishing site by using PowerShell.

$site = get-spsite "http:// site URL”
$pub = [Microsoft.SharePoint.Publishing.PublishingWeb] :: GetPublishingWeb($site.RootWeb)
$file = $pub.Web.GetFile("Pages/New_DefaultPage.aspx")
$pub.DefaultPage = $file
$pub.Update()

About Us

Follow Us

Email: contact@keapoint.com
Phone:  0208 7852 888

Registered Address: 1 Amber Close, Reading, RG6 7ED. United Kingdom

Company No. 11586817