Posted by Scott on March 15, 2011
Critical Path Training has just announced that they are offering 14 free webinars in the coming months focused on SharePoint 2010. If you’re looking for a solid introduction to SharePoint 2010, this is as good an opportunity as any.
Reference
Posted by Scott on March 8, 2011
The Microsoft SharePoint ECM team recently teamed up with WAND to release a starter taxonomy (free download). If you’ve been staring at a blank term store, this would be a place to start.
Reference
Posted by Scott on March 7, 2011
Posted by Scott on February 16, 2011
The following is the Powershell profile that I have been using on the SharePoint 2007 farms I administer.
############################################################################
# Assumptions:
# - Running on machine with WSS/MOSS
# - C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN in path
# - For development servers only, does not dispose of objects
############################################################################
# Example usage:
# $list = get-splist -webUrl "http://site" -listName "Announcements"
############################################################################
$12HiveDir = "${env:CommonProgramFiles}\Microsoft Shared\web server extensions\12\"
[void][reflection.assembly]::Loadwithpartialname("Microsoft.SharePoint") | out-null
[void][reflection.assembly]::Loadwithpartialname("Microsoft.Office.Server.Search") | out-null
[void][reflection.assembly]::Loadwithpartialname("Microsoft.Office.Server") | out-null
# Returns the SPWebApplication at the specified URL
function get-spwebapplication ([String]$webUrl=$(throw 'Parameter -webUrl is missing!'))
{
return [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup("$webUrl")
}
# Returns the SPSite at the specified URL
function get-spsite ([String]$webUrl=$(throw 'Parameter -webUrl is missing!'))
{
return New-Object -TypeName "Microsoft.SharePoint.SPSite" -ArgumentList "$webUrl"
}
# Returns the SPSite object from the specified URL
function get-spweb ([String]$webUrl=$(throw 'Parameter -webUrl is missing!'))
{
$site = New-Object -TypeName "Microsoft.SharePoint.SPSite" -ArgumentList "$webUrl"
return $site.OpenWeb()
}
# Returns the SPList object from the specified URL and list name
function get-splist ([String]$webUrl=$(throw 'Parameter -webUrl is missing!'),
[String]$listName=$(throw 'Parameter -listName is missing!'))
{
$site = New-Object -TypeName "Microsoft.SharePoint.SPSite" -ArgumentList "$webUrl"
$web = $site.OpenWeb()
return $web.Lists[$listName]
}
Reference