Inspecting and Modifying Live SharePoint Instance with PowerShell
Continuing my quest to explore how PowerShell can help SharePoint developers and administrators, this time I’ll take a look at a fairly uncommon scenario: inspecting and modifying a live SharePoint instance.
The case I was working on involved a known problematic scenario: a subweb converted into a site collection. The site collection was one where the users could...
Centered layout with CSS & v4.master on SharePoint 2010
First of all, I must say that I’m not a huge fan on how the new Ribbon UI is implemented. The positioning system aided by ECMAScript messes with the body-tag and it requires quite a few steps to disable the positioning system as Jonathan Kern explains here.
I have a case here...
Extending PowerShell for SharePoint with Custom Commandlets
In my previous entry on SharePoint and PowerShell I promised I’d show you how to implement custom commandlets for Master Page manipulation. SharePoint 2010 ships with a wide array of commandlets, but none of them seem applicable here. This should also serve as a nice generic example on how to implement simple commandlets.
In order to...
How to Display Informational Messages in a Console Action
Editing menu console actions already have a method to display errors, but there isn’t any public API for ShowMessage, and that’s unfortunate.
Fortunately, by using Reflector, I was able to find out how Microsoft uses ConsoleMessage class to display informational messages in a Console Action. I’m not sure why this class is an internal class, but...
Scripting STSADM with PowerShell
How to Remove Workspace Link from a Calendar
This one has been discussed in a few articles in the internet. One way to hide workspace link from calendar is to do it with JavaScript, the other way is to modify calendar schema, and of course there are several other methods to do it. All of these seemed like a hacks, so I...