Folks,
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.
- Add-PsSnapin Microsoft.SharePoint.PowerShell
- $w = get-spweb http://mysite.site
- $r = $w.RootFolder
- $r.WelcomePage = "Pages/CustomHome.aspx"
- $r.Update()
- $w.Dispose()
Happy SharePointing
Please be feel free to add any suggestions/inputs.