Delete Web Parts in SharePoint 2010 and 2013 with Windows PowerShell

Recently, I have had the need to remove all the web parts of the welcome page of a large number of sites. The number of sites was so big that the option of doing it manually was out. It is in these cases where we can always rely on Windows PowerShell, because the time invested in developing a script is profitable, plus we are learning along the way.


SharePoint Events List returns no items with GetListItems web services operation

I’ve been working on accessing SharePoint data remotely (2007, 2010 and Online) in the last months and I found a couple of months ago a breaking point in my developments. The Events List (also known as SharePoint Calendar list).

When I tried to get list items fro this kind of list using this line of code

listsWs.GetListItems(listGUID, "", query, viewFields, rowLimit, queryOptions,


SharePoint Best Practices: Creating and Configuring Service Applications With (and Without) PowerShell – Part 2

This article pursues the goals of the first part, pointing out the ways to create and configure another interesting service application available in SharePoint 2010—the Web Analytics service application. As usual, I’ll introduce this topic with a general and architectural overview of the Web Analytics functionality, once again paying attention to its scalability and effectiveness. (more…)

Differences between SharePoint 2010 Management and Shell Windows PowerShell

In this article is going to be explained the differences between the Windows PowerShell console and the SharePoint Management Shell in SharePoint manage. SharePoint 2010 Management Shell loads a Windows PowerShell profile located in the SharePoint root. The profile’s path is: SharePointRoot CONFIG POWERSHELL Registration SharePoint.ps1.

This script configures the initial user environment for Windows PowerShell. The three things that the profile does are the followings:


SharePoint Online Authentication WebBrowser Control issue with Active Directory Federation

I’m developing a custom desktop solution in Windows Presentation Foundation (WPF) that has to access a SharePoint Online contents and do some things with them.

The first thing I had to “fight” with was the Authentication method that is by default a bit different from the On-Premise version (programmatically too). When I started to look for the right documentation about that topic I found quite fast this great article from the MSDN library “Remote Authentication in SharePoint Online Using Claims-Based Authentication” by Robert Bogue. After read the article and download the Sample Code, I told myself “Yeah! This going to be a piece of cake!”.