Posts

Showing posts from 2019

Upgrade SharePoint 2013 after installing Patches or CU

I wrote this script to provide several options that have helped me successfully run PSConfig upgrades. This script will do the following: Start IIS in case it is stopped (could be stopped while installing patches) Run any pending admin service jobs Clear the local configuration cache Provide a menu of 3 options for upgrade: Simple Advanced Stuck at 10% progress during a previous run Initialize Resource Security Here is the PowerShell script: #region INFO ######################## ####   INFORMATION   ### ######################## <#  .SYNOPSIS     This script will attempt to run good actions to ensure the successful upgrade of SharePoint. .DESCRIPTION      Uses the PSConfig.exe application .EXAMPLE      .\Upgrade_PSConfig_PatchLevel.ps1 .LINK      Open this link for any issues observed during the upgrade as reported in the logs:     https://technet.microsoft.com/en-us/library/cc262967(v=office.15) .NOTES      File Name :      

Get All Instances of a SharePoint Field in a Site Collection

Paste the below text into PowerShell or PowerShell ISE You could even add the ability to output the array to CSV if you like.