[PowerShell] Write a Custom PowerShell Cmdlet in C#

Particularly with SharePoint 2010, I have become a huge fan of Microsoft PowerShell. In addition to writing complex PowerShell scripts (.ps1 files), I have found it very useful to write my own C#-based PowerShell Cmdlets to use in my scripts. This basic tutorial illustrates how to create a basic PowerShell Cmdlet with a couple of […]

[SharePoint 2010 / 2013] Display Messages Using the SharePoint Status Bar (Status Setter)

SharePoint 2010 and 2013 have a very useful control for displaying status messages, the SPPageStatusSetter. The SPPageStatusSetter can be used to provide the end user messages in the same fashion that the SharePoint UI does to provide a more cohesive experience. The status bar comes in four flavors: Blue – For informational type messages Green […]

[SharePoint 2013] No More In-Place Upgrades

With SharePoint 2013 Microsoft has decided to remove the option for in-place upgrades from the previous version. This means that upgrading from previous versions of SharePoint will require building a new SharePoint 2013 environment and migrating all of the databases from SharePoint 2010 by attaching them to the new 2013 farm. There is a step-by-step […]

[SharePoint 2007/2010/2013] Identify Version of SharePoint Programmatically

With SharePoint 2013, Microsoft has introduced a small monkey wrench in where solution files get deployed when mapped to the LAYOUTS (/_layouts) folder. Files in SharePoint 2007 and 2010 would simply be deployed under the /_layouts folder. With SharePoint 2013, however, these same files are now deployed under /_layouts/15. Not really a big deal if […]

[SharePoint 2013] New Geolocation Column Type in SharePoint Lists

SharePoint 2013 introduces a new geolocation (for mapping a location) field type that can be used in lists and libraries. By default Bing Maps is used. However, a custom field type can be created with the geolocation base type to use other services like Nokia Maps. Adding a new geolocation column is currently not available […]

[SharePoint 2013] MSDN Reference Documentation Now Available

Published yesterday, July 16th, the preliminary MSDN documentation for SharePoint 2013 is now available: http://msdn.microsoft.com/en-us/library/jj162979(office.15).aspx. The SharePoint Server 2013 preview can be downloaded from TechNet at http://technet.microsoft.com/en-US/evalcenter/hh973397. Microsoft’s guide to setting up a testing environment can be found here: http://msdn.microsoft.com/en-us/library/sharepoint/ee554869(v=office.15). Happy Coding!

[SharePoint 2010] Specifying Which Server a Custom Timer Job Will Run On

By default timer jobs in SharePoint are scheduled for all servers in a SharePoint farm and whichever server picks up the job first is the one that runs it. There may be times when creating a custom timer job for SharePoint 2010 that you want to specify the server in the farm that the timer […]