fbpx

November 28, 2011

Collaboration site default page setting in SharePoint 2010

Collaboration site default page setting in SharePoint 2010

In the last post I have explained how you can change publishing site default page using PowerShell

You can also achieve same for collaboration site. In this post I explain how SharePoint 2010 collaboration site default page is set up. 

$site = get-spsite "http://site URL”

$file = $site.RootWeb.GetFile("Pages/Default_Copy.aspx")
$folder = $site.RootWeb.RootFolder
$folder.WelcomePage = $file
$folder.Update()
  • Related Tags:

(5) Comments

Leave a comment