How to Deploy Multiple WSP Solutions using PowerShell in SharePoint?

Requirement: Have a bunch of WSP solution packages and had to add and deploy all of them to a cloned SharePoint environment. Solution: Lets bulk deploy all WSP solutions from a folder to SharePoint using PowerShell. PowerShell script to bulk add Multiple solutions: Once added to the SharePoint solution store, You can…

Read more

Activate-Deactivate Features Programmatically in SharePoint

At times, We may have to activate/deactivate features programmatically. Here is the code snippet: PowerShell way to Activate-Deactivate Features: To activate a feature in PowerShell: Enable-SPFeature -identity <Feature-Folder-Name/GUID> -URL <URL-of-Web-app/Site coll/Site> To deactivate a feature: Disable-SPFeature -identity <Feature-Folder-Name/GUID> -URL <URL-of-Web-app/Site coll/Site>

Read more

How to Create a Feature in SharePoint 2010? – Step by Step

In this article, I’m demonstrating how to create a feature in SharePoint 2010 using Visual Studio 2010 in 10 easy steps: Step 1: Create a new project in Visual Studio 2010, Choose SharePoint 2010 – Empty SharePoint Project Template, Name the project. Here I’ve named it: Crescent.TitleChanger.Feature  Step 2: Enter the existing…

Read more

Build a Feature based Solution to Deploy Site columns in SharePoint

I have got a bunch of site columns created in development environment and want to port them to Production environment with out manually creating em again. Let see step by step: creating feature based solution for SharePoint 2010 site columns using Visual Studio 2010. 1. Lets start by creating a new Visual…

Read more

Managing Features in SharePoint using PowerShell & STSADM

SharePoint Features are part of deployment unit that typically consists of set of functionality such as customization, application pages, list schema, etc. that can be activated and de-activated at various levels in SharePoint. Features consists of “Feature.xml” file and any other supporting element files. Generally Features to be activated or deactivated from…

Read more

Build SharePoint Feature to Deploy File System Changes

With SharePoint solution packages, it’s possible to port the file system changes and providing Feature-based solutions! Let us build a SharePoint 2007 feature to deploy file system changes (12 hive files) using WSP Builder. Here are the steps: 1. Create a new WSP project ( you need to have WSP Builder installed….

Read more

Deploy SharePoint Solution Packages (WSP) with PowerShell and STSADM

SharePoint solution packages (wsp) can be managed using either STSADM command line tool (in MOSS 2007) or with PowerShell cmdlets with SharePoint 2010 (such as deploy solution package with PowerShell). This article gives the reference for Managing SharePoint solutions using both of them with examples. To add a solution package to the…

Read more

SharePoint WSP Solutions and Features Deployment using STSADM, PowerShell

In this article I’m documenting the Deployment of WSP files using STSADM and with the PowerShell. Before we begin, Its a good idea to add STSADM’s path (“C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\”) to the environment variable “Path”. It saves the typing 🙂 and of course, its a good idea to have…

Read more