Export-Import All Lists and Libraries from One Site to Another using PowerShell

July 23, 2014    , , , , , , ,
Requirement is to copy and paste all SharePoint lists and libraries from one site to another. While "Save List as a Template" is one approach, it doesn't work for larger lists and its time consuming. Using Central Administration export method also kills my time. Solution: We ca…

Save Site as Template Option Missing in SharePoint 2013?

July 22, 2014    , , , , ,
Perhaps the most easiest way to create a standard site template is to Create a site,  Add-remove content, list and libraries and save it as a template. But SharePoint 2013 does not support "Save Site as Template" option on Publishing sites. If a site with "SharePoint Server Publish…

Property Bags in SharePoint 2013 - Store, Retrieve Custom Configurations

July 22, 2014    , , , , ,
As its name suggests, Property bag feature provides a convenient way to store and retrieve custom configurations, instead of having to store them in web.config files. Property bags in SharePoint stores configuration data in the Hash-Table (Key-Value) format. We can store and retrieve propert…

Restart IIS (IISRESET) on All Servers in the SharePoint Farm using PowerShell

July 21, 2014    , , , ,
Doing IISReset on Server Farm with Multiple SharePoint servers is a painful processes. If you ever need to restart IIS on all servers in the SharePoint farm, Here is a nifty solution to do IISRESET on all SharePoint Servers using PowerShell: PowerShell Script to Restart IIS on All SharePoint Se…

SharePoint Site Collection vs Subsite - Determine Which One to Create

July 20, 2014    , , , , , ,
SharePoint newbies often get confused with this question: When to create Site collection and when to use Subsites? What are the advantages of having a Ste collection rather subsite? Well, the choice of Site collection or subsite can be determined based on these factors: Security/Permission Ma…

Database is in compatibility range and upgrade is recommended - Solution

July 18, 2014    , , , , , ,
Problem:  After a service pack upgrade in SharePoint 2013, database status under  Central Admin >> Upgrade & Migration >> Review database status - turned into "Database is in compatibility range and upgrade is recommended" Solution: In most cases, this message simpl…

Solution for "The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered" PowerShell Error in SharePoint 2013

July 18, 2014    , , , , ,
We have a new SharePoint administrator joined in our team. We granted him access to all SharePoint servers, Added him to Farm Admin group, Web application policy.  However, when he tried launching SharePoint Management Shell or try adding the SharePoint PowerShell snap-in from PowerShell ISE, g…

How to Integrate Twitter with SharePoint to Get Twitter Feeds?

July 15, 2014    , , , , ,
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 few steps. Simply, follow these steps for adding twitter to SharePoint to get twitter feeds. Step 1: Go to https://www.twitter.c…

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

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

Get SharePoint Site Collection Created Date using PowerShell

July 09, 2014    , , , ,
Requirement: I had to generate a report for management review on list of site collections created in the past one Month.  Solution: Get SharePoint Site Collection Created Date using PowerShell! There is no UI to view site creation date in SharePoint! But you can get site creation date in Share…

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

July 08, 2014    , , , , ,
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 cre…

Powered by Blogger.