How can you set the default value for the 'Description' field for a SharePoint 2010 calendar list? There is nothing in the web interface for doing this, so I have tried it with PowerShell.

$w = Get-SPWeb -Identity http://SPSite
$l = $w.Lists["My Calendar"]
$f = $l.Fields["Description"]
$f.DefaultValue = "default value"

It runs without any exceptions occurring, but does not set the default value.

I want to include some text in the description field that shows when adding a new event via SharePoint or Outlook 2010.

  • Did @James script on PasteBin help you here? Accepting answers helps motivate people to answer your questions as reputation is awarded.
    – Alex Angas
    Jun 26, 2011 at 23:51

1 Answer 1


I doubt you'll get the default value to show in Outlook when creating an event. Also, try setting the default value to the Site Column called Description and call Update(true).

  • I get an exception if I pass true: $f.Update( <<<< true) + CategoryInfo : ParserError: (CloseParenToken:TokenId) [], ParentContainsErro rRecordException + FullyQualifiedErrorId : MissingEndParenthesisInMethodCall
    – Sam
    May 26, 2011 at 16:17
  • I did put the closing bracket in... even using $TRUE instead of true does not work (but prevents the exception from occurring)
    – Sam
    May 26, 2011 at 16:20
  • Might need to pass "True". PoSH still evades me to this day :)
    – James Love
    May 26, 2011 at 16:22
  • That doesn't help either...
    – Sam
    May 26, 2011 at 16:26
  • 1
    This worked for me: pastebin.com/nvXpWC3J
    – James Love
    May 26, 2011 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.