How to Save List as a Template using PowerShell in SharePoint?

Requirement: Save SharePoint list as a template using PowerShell How to Save List as a template in SharePoint? List templates in SharePoint provide great re-usability without having to recreate every single column. Say for e.g. you may have created a custom list (say: Projects) in a SharePoint site collection with all relevant…

Read more

Custom 404 Page Not Found Error page for SharePoint 2013 Site Collection

SharePoint 2013 is shipped with a default “Page not found” Error page in “Pages” library in publishing Sites (http://intranet.crescent.com/Pages/PageNotFoundError.aspx) which works automatically when a user hits a non-existent URL. We can either customize this page or create our own page and set it as a page not found error page. Here are…

Read more

Mount-Dismount (Attach-Detach) Content Databases in SharePoint using PowerShell

There are occasions when you may need to attach or detach a content database to SharePoint web applications. E.g. during migrations you want to restore a content database from another farm and would like to access the sites in the content database from a new web application.You can attach or detach SharePoint…

Read more

How to Get All Lists in SharePoint Site using PowerShell?

Get all lists in SharePoint site using PowerShell: To get all SharePoint lists by using PowerShell, use this script: One-Line Script to get all Lists in SharePoint using PowerShell: SharePoint PowerShell to get all lists in a site collection: PowerShell to get all lists in site collection

Read more

How to Show Status Message in SharePoint 2013?

Requirement: After the launch of new SharePoint intranet portal, we wanted to display a status message in each page. Solution: Here is the script to display status message using SharePoint Javascript client side object model. and the result of SharePoint 2013 status message: This script can be used in Master pages or…

Read more

Change Subsite Logo to Link Root Site in SharePoint 2013 / 2016 using jQuery

Requirement: Change Subsite logo to link root site in SharePoint 2013 / SharePoint 2016 Solution: By default, Subsite logo links points to its homepage. We can change site logo link in SharePoint 2013 using jQuery to point to root site. Change SharePoint 2013 logo link to root site: Add a script editor…

Read more

Apply Theme in SharePoint 2013 using PowerShell

Themes are the quick and easiest way to apply branding to SharePoint sites. In SharePoint 2013 Themes got changed and redesigned as the “Composed Look” feature. As it sounds “Composed” look, it simply defines theming by combining design elements: Master page – AKA site layout, Color theme, Font schemes, and background images….

Read more

Configuring Visio Graphics Service Application in SharePoint 2013 using PowerShell

Visio diagrams are a wonderful way to express ideas, simplify complex topologies, illustrate the process flow, etc. With Visio Services in SharePoint 2013, you can publish Visio diagrams in SharePoint so that they can be shared and viewed online without installing Visio application on client computers. Configuring Visio Services in SharePoint 2013…

Read more

Disable Alerts on SharePoint 2013 List using PowerShell

Requirement: Temporarily disable Alert Emails on a SharePoint list. How to disable alerts on a SharePoint list? SharePoint Alert objects have “Status” property which can be turned ON or OFF. As there is no UI to disable or enable alerts in SharePoint directly from the browser, we can do it programmatically with…

Read more