4.02.2013

SharePoint 2010 - List Column Deletion

This little gem saves me quite a bit of hassle when developing a new content type.

$web = Get-SPWeb https://MYSITECOLLECTION
$list = $web.Lists["PDR"]
$field = $list.Fields["ConfAttendees"]
$field.AllowDeletion = “true”
$field.Sealed = “false”
$field.Delete()
$list.Update()
$web.Dispose()