Dot Net Mafia

Group site for developer blogs dealing with (usually) .NET, SharePoint 2013, SharePoint 2010, Office 365, SharePoint Online, and other Microsoft products, as well as some discussion of general programming related concepts.

Quite some time ago, I wrote about how to set default column values using C#. However, I find it useful to work with them using PowerShell quite often. The reason being, I often use this as a utility to work set default column values on document libraries or folders in bulk. I often...

At SPC12 , I gave a talk about PowerShell in SharePoint 2013. In that talk I upgraded a SharePoint 2010 site collection to SharePoint 2013. I wanted to follow-up with a blog post showing the steps involved. To begin the process, I have restored a copy of my content database from my...

One of my most popular posts on DotNetMafia.com is my post on using PowerShell to add and deploy SharePoint solution packages (.wsp files). However, in that post, I never went in detail in deploying sandboxed solutions. Today, I want to talk about that and show you what you need to know. ...

I love me some PowerShell. I use it a lot in the context of SharePoint 2010, but I use it just as much on my own laptop. If you have been administering and configuring SharePoint enough, you have become accustomed to the shape and size of the PowerShell window that you get when you run the...

A lot of times we have a need to activate a feature on multiple site collections. This could be a custom feature to do branding or you may simply be activating publishing on multiple site collections. PowerShell makes tasks like these easy. We’ll take what we learned from my original...

I’m always looking for a way to automate things and configuring the search settings of a site collection is no exception. I’ve talked about the Search Settings page before and how important it is for configuring contextual search and the scope drop down on your master page. Wouldn’t it be...

When SharePoint 2010 Service Pack 1 came out, I noticed the following line in the release notes regarding Office Web Apps. “Lets you insert clip art in PowerPoint Web App. (By default clip art support is disabled. An administrator can decide to enable it.)” However, it didn’t say how to enable it. ...

Sometimes when you try to run a SharePoint 2010 Management Shell (PowerShell), you might encounter the error below. The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. Although, the answer is not obvious given the error message, the answer is quite simple. You...

One day when I wasn’t thinking, I encountered the following error when trying to execute a FAST Search for SharePoint PowerShell command such as Get-FASTSearchContentCollection. Get-FASTSearchContentCollection : Failed to communicate with the WCF service. At line:1 char:32 + Get-FASTSearchContentCollection...

Whenever you use the Blank Site template for a site collection, a lot of supporting features that you may want are not activated. One of these is the feature for Managed Metadata site columns. When you pick one, you might see the following error. The required feature is not enabled for this...