Checking in multiple documents at once
Sometimes I upload multiple documents to a document library and they require check-in. One or two documents isn’t much of a problem but any more than that can become a chore. Well it is possible to check-in multiple documents at…
Databases exist on servers running SharePoint Foundation
I am working on an installation of SharePoint Foundation that has been reporting the following error for some time: Databases exist on servers running SharePoint Foundation To ensure better performance it is highly recommended to host the databases used by SharePoint…
Install SharePoint 2010 using AutoSPInstaller
I’m about to create a whole new installation of SharePoint 2010 so have decided to take AutoSPInstaller for a test drive. To prepare, I have: Built a new Windows 2008 R2 server and installed Active Directory, creating a new domain…
Applying updates automatically during installation
When installing SharePoint onto many servers it can take some time afterwards to install the available updates. To make life easier they can be installed automatically during installation simply by placing them into the Updates folder within the installation source. …
Install the Windows TIFF IFilter
If, like me, you would like the contents of TIFF files crawled and included in SharePoint search results then this is easy to achieve by installing the Microsoft TIFF IFilter on your SharePoint server(s). Here’s how: 1. Open Server Manager…
SharePoint Foundation Search Event ID 70
I have been tasked with investigating an error that is being logged in the Application event log on a SharePoint server recently upgraded to SharePoint 2010 ServicePack 1. The error is logged as follows: The mount operation for the gatherer application…
The local farm is not accessible (SharePoint 2010)
I have just opened the SharePoint Management Shell on a WFE server to be presented with a message I haven’t seen before: The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. When searching for a solution to…
Example SQL query to backup a database to disk
This sample SQL query can be executed to backup a site collection database to a file, where WSS_Content_Intranet is the name of the database used by the Site Collection. Use WSS_Content_Intranet DBCC Shrinnkfile (‘WSS_Content_Intranet’) DBCC Shrinnkfile (‘WSS_Content_Intranet_log’) Go Backup Database WSS_Content_Intranet To Disk…
Automating SharePoint backup using Windows PowerShell
I have just started using the following PowerShell script to backup an entire farm to disk every night, the script is called by the Windows Task Scheduler (running the task as the Farm Administrator account). Add-PSSnapin Microsoft.SharePoint.PowerShell Backup-SPFarm -Directory \\WW-Backup\SharePointBackup…