Find All Site Templates Used by SharePoint Sites

Requirement: Find all Site templates used in a SharePoint 2010 environment and generate report prior proceeding with Migration, as certain templates are discontinued in SharePoint 2013. Solution: Lets get site template usage report on all sites using PowerShell. PowerShell Script to Get Web Templates of all sites and Export to CSV Report:…

Read more

How to Integrate Twitter with SharePoint to Get Twitter Feeds?

Although there are Twitter-SharePoint web parts in CodePlex, we can integrate Twitter with SharePoint with Out-of-the-box script editor/content editor web parts in a few steps. Simply, follow these steps for adding twitter to SharePoint to get twitter feeds. Step 1: Go to https://www.twitter.com and Log-in to your Twitter account.(You need to have…

Read more

Add-SPShellAdmin: You need to have Machine administrator priviliges to run this cmdlet

While trying to add a new user to grant PowerShell script execution policies, Got this error message: Add-SPShellAdmin: You need to have Machine administrator priviliges to run this cmdlet Solution: Although you are in the local server Administrator group, You must run the SharePoint Management Shell as Administrator. Simply right-click on SharePoint…

Read more

Download All Versions of a Document in SharePoint using PowerShell – Web Services

Requirement: Wanted to extract and download each version of the document stored in a SharePoint library. Well, PowerShell can do it from the client side using web services. Here is the PowerShell script to download each version to the local folder programmatically. Download all versions of a document using PowerShell Here is…

Read more

Expand-Collapse All Groups in SharePoint 2013 List Views using jQuery

SharePoint doesn’t have the ability to expand/collapse all groups in grouped list views. However, with jQuery we can bring Expand All-Collapse All buttons in SharePoint 2013 grouped list views. Just edit the grouped view page (Site Actions Gear >> Edit Page), add a “Script Editor” Web part and then place the below…

Read more

Get SharePoint Site Collection Created Date using PowerShell

Requirement: I had to generate a report for management review on list of site collections created in the past one Month.  How to Get the Site created date using PowerShell? To get the SharePoint Site Collection Created Date we can use PowerShell as there is no UI to view the site creation…

Read more

How to Create a New Content Database in SharePoint 2013 using PowerShell?

Although a content database can accommodate up to 10,000 site collections in SharePoint, its not advisable to use it so, as the recommended size of the content database is < 200 GB in SharePoint 2013. Also, that could introduce Security, Backup-restore issues to affect your SLA. When you create a new site…

Read more

How to Change Logo in SharePoint 2013?

As a branding initiative, The first thing people do to customize the SharePoint site is: changing logos to their company logo. Here is how to change the logo in SharePoint 2013: Navigate to the Site Settings Page by clicking the “Site Settings” link from settings gear. Under the “Look and Feel” section,…

Read more