Change Welcome Page in SharePoint 2010/2013 using PowerShell


Its always fun to work with Powershell such a simple and powerful commands for all sorts of administrative tasks in SharePoint environment. I had to set up my welcome page in my sharepoint site from the default one to the custom home page (developed by external vendors).

In this blog, Let me the share the piece of PowerShell Commands thats being used to achieve this.

  1. Add-PsSnapin Microsoft.SharePoint.PowerShell   
  2. $w = get-spweb   
  3. $r = $w.RootFolder   
  4. $r.WelcomePage = "Pages/CustomHome.aspx"   
  5. $r.Update()   
  6. $w.Dispose()  

Happy SharePointing

Please be feel free to add any suggestions/inputs. 

Ebook Download
View all
View all