Upgrading from WSS 2.0 to SharePoint 2013

There is no direct approach/method to upgrade from WSS 2.0 to SharePoint 2013. The changes between versions are too great, and the hardware requirements differ so much between versions that a direct, in-place upgrade is not possible or supported. You can, however, perform a series of database attach upgrades to first upgrade your content to…


Service Pack 2 and the June Cumulative Update

A follow-up from last week’s post about the release of SP2 for Office and SharePoint 2010: The updates from the June Cumulative Update (KB 2855357) will not install on SP2. The August Cumulative Update will be the first to do so. However, the June Cumulative Update includes some changes that are not available in SP2….


Retrieve the list of Content Types in MOSS 2007 using PowerShell

  MOSS 2007 [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") | out-nullWrite-host ".."Write-host ".."Write-host "Get a list of Content types"$site = new-object Microsoft.SharePoint.SPSite("http://spweb/extend"); # specify url hereforeach ($web in $site.AllWebs) { $ctypes = $web.ContentTypes foreach ($ctype in $ctypes) { $usages = [Microsoft.Sharepoint.SPContentTypeUsage]::GetUsages($ctype) foreach ($usage in $usages) { Write-Host $web.Name + "," + $ctype.Name + "," + $usage.Url } }} SharePoint 2010…


“The installation of this package failed” error while installing April 2013 CU (KB 2726992) for SharePoint 2013

There have been issues reported where the installation of April 2013 CU for SharePoint 2013 fails with the following error: “The installation of this package failed” If you navigate to the temp file location (open windows explorer and type %tmp% in the address bar) and open the log file, “OPatchInstall(1).log”, located in %Userprofile%\AppData\Local\Temp\2 folder, you…


Get a list of web templates and IDs in a SharePoint site

  # Find the template name of SharePoint site using PowerShell $web = Get-SPweb http://SiteUrl Write-host “Web Template:” $web.WebTemplate ” | Web Template ID:” $web.WebTemplateId $web.Dispose() # To get a list of all web templates, use the following PowerShell code function Get-SPWebTemplateWithId {      $templates = Get-SPWebTemplate | Sort-Object "Name"      $templates | ForEach-Object {…


Warm up script in PowerShell for SharePoint 2010 Environment

    # Warm up script for web apps along with the site collections within them in SharePoint 2010 environmentAdd-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue # The get-webpage function is from http://kirkhofer.wordpress.com/2008/10/18/sharepoint-warm-up-script/function Get-WebPage([string]$url){ $wc = new-object net.webclient; $wc.credentials = [System.Net.CredentialCache]::DefaultCredentials; $pageContents = $wc.DownloadString($url); $wc.Dispose(); return $pageContents;} # Enumerate the web app along with the site collections within…


Retrieve timer job history for a specified time range using PowerShell

    # Retrieve timer job history for a specified time range # Initial settings $Wa = Get-SPWebApplication "http://WebAppUrl"    # Supply the web app url here $From= "2/13/2013 12:00:00 AM"  # mm/dd/yyyy hh:mm:ss $To = "2/14/2013 12:00:00 AM" # Retrieve all jobs in the time range Write-Host "Listing all timer jobs that have run between…


Issue found with .NET Framework 3.5.1 Security update KB2756920

After installing the update KB2756920 on a Windows Server 2008 R2/Windows 7 RTM  computer running SharePoint Server 2010 with previously installed hotfixes for .NET 3.5 SP1. on the server, the following exception is thrown when any WCF service is hosted on IIS using HTTPS Server Error in ‘/SecurtyTokenServiceApplication’ Application Method not found: ‘System.String System.ServiceModel.Activation.iis7helper.extendedprotectiondotlessspnnotenabledthrowhelper(system.object)’ An…