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

How to Delete Unused (Orphaned) Service Application App Pool in SharePoint 2010?

When you delete the Service applications, their Application Pools will not get deleted – They’ll become orphan/unused. So later when you create a new service application with same application pool, SharePoint will throw an error message: Application pool is already in use! “An object of the type Microsoft.SharePoint.Administration.SPIisWebServiceApplicationPool named “Excel Service Application…

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

Limit Versioning and Delete Old Versions in SharePoint

In one of my SharePoint implementation, Defined the governance policy for versioning as: “Only 5 Major and 5 Minor versions should be kept.”. So placed that in End-user self-service Portal site. But who cares? users setup up their document libraries/Lists to an unlimited number of versions, and asking for Increasing the Site…

Read more

How to find the SharePoint Site Template being used?

How to find the site template of an existing SharePoint site? There are many ways to find the site definition being used for a site, Here are some: 1. Use SharePoint Manager to find the SharePoint site template. Navigate through the site, and look for “Web Template” as in the below picture….

Read more

Want to know your SharePoint version?

There are several ways to get your SharePoint version. Here are some: You can get the SharePoint version in central administration. Go to CA > Operations >  Servers in Farm (under Topology and Services) 2. You can identify the SharePoint version from Installed Programs. Go to Control Panel > Add and Remove…

Read more

SharePoint Search Crawl Rules – What is that, what it does for us?

Search Crawl rules are mechanisms to influencing the behavior of the crawler when it crawls specific sites. A single crawl rule is created by specifying a URL wildcard matching sites plus a set of options for setting the behavior of the crawler for these sites. When performing a search in SharePoint you…

Read more

Manage Blocked File Types in SharePoint

Recently another user came to me saying, He got the below error while he tried uploading a file to SharePoint: “The following file(s) have been blocked by the administrator” This is because: The user tried uploading .OCX files, which were in the blocked file type. Here is what I did to allow…

Read more