Monthly Archives: February 2012

Set Status Bar Colour

SharePoint Short #1 To set the colour of a SharePoint 2010 status message, it’s important to specify it in lower-case and not start with an upper-case letter. The MSDN page for setStatusPriColor, found here, shows the colour values starting with … Continue reading

Posted in SharePoint Shorts | Tagged , | Leave a comment

Get ListTemplate and Create New List in PowerShell

A PowerShell related post today: To create a list or library in SharePoint, you can do the following: $web = Get-SPWeb "http://serverUrl" $web.Lists.Add("List Title", "List description", "Template Name")$web = Get-SPWeb "http://serverUrl" $web.Lists.Add("List Title", "List description", "Template Name") Now, say you … Continue reading

Posted in SharePoint | Tagged , | 1 Comment