“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…

18

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 {…

8

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…

8

Windows PowerShell Command Builder 2.0 is here !!

    This is an updated version of the Windows PowerShell Command Builder Windows PowerShell Command Builder 2.0 constructs commands that can be used with SharePoint Foundation 2010, SharePoint Server 2010, SharePoint Foundation 2013, SharePoint Server 2013, SharePoint Online, and Office 365. Windows PowerShell Command Builder 2.0 provides many of the same capabilities as the…

2