How to configure a Dedicated Web Front End for crawling in SharePoint 2010

In SharePoint 2007 (MOSS v3) we have an option in the Office Server Search User Interface to configure a specific Web Front End as the server to be used for crawling. This functionality is very useful as it allows us to have a dedicated WFE for crawling as that ensures the crawling load is not…

11

Change the application pool associated with a web application in sharepoint.

Recently I researched on case where the SharePoint Service Pack 2 upgrade failed with the following exception. [SPIisWebSiteWssSequence] [ERROR] [7/18/2009 11:13:56 PM]: Action 3.1.3.0 of Microsoft.SharePoint.Upgrade.SPIisWebSiteWssSequence failed. [SPIisWebSiteWssSequence] [ERROR] [7/18/2009 11:13:56 PM]: The system cannot find the path specified. [SPIisWebSiteWssSequence] [ERROR] [7/18/2009 11:13:56 PM]:    at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)    at System.DirectoryServices.DirectoryEntry.Bind()    at System.DirectoryServices.DirectoryEntry.get_AdsObject()    at…

0

PowerShell script to delete all items in a List

Another script I wrote is to delete all items from a List. ################################################################################################### [System.Reflection.Assembly]::Load(“Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”) [System.Reflection.Assembly]::Load(“Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”)[System.Reflection.Assembly]::Load(“Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”)[System.Reflection.Assembly]::Load(“System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”) # “Enter the site URL here”$SITEURL = “http://serverurl” $site = new-object Microsoft.SharePoint.SPSite ( $SITEURL )$web = $site.OpenWeb()”Web is : ” + $web.Title # Enter name of the List…

2

PowerShell script to remove all users from a SharePoint Group

I have been experimenting with PowerShell scripting for the past few months. Below is a script I have written to remove all users in a specific SharePoint group. There have been many instances where we find users have added too many individual user accounts to a specific SharePoint group. This causes many issues like search…

1