Project Description
Tired of waiting for SharePoint pages to load? Want something easy to support? That works on all versions? This warmup script is for you!

I used several different warmup scripts over the years. They all worked OK but each seemed to lack one or two features so I decided to create one for myself. Hopefully you find it useful too.

Twitter us! #SPBestWarmUp

GET STARTED
Key Features of the new version
  • Supports both SharePoint 2013 and 2016.
  • Supports custom page URLs.
  • Automatically detects all Web Application URLs.
  • Automatically detects all Host Named Site Collection URLs.
  • Automatically detects Service Application Endpoint URLs.
  • Downloads full page resources (Images and Javascript) not just HTML.
  • Works without Internet Explorer.
  • Great for ECM websites to help populate blob cache.
  • Warms up Central Admin too. Faster admin UI experience!
  • Informative log and progress bar at run time.
  • Choose to create a logfile for later inspection.
  • Verbose for more logging information.
  • Support for the Windows event log. Can be monitored by tools like SCOM.
  • [Experimental] Support for Microsoft Project Server

Quick Start
  • Download the release, unpack and rename the script to "SPBestWarmup.ps1"
  • Copy "SPBestWarmup.ps1" on each SharePoint web front end (WFE)
  • Run "SPBestWarmup.ps1 -install" to create the Task Scheduler item
  • Sit back and watch it run

Admin Tip
  • After reboot run this command to manually trigger the job and warm up IIS
  • SCHTASKS /RUN /TN "SPBestWarmup"

Screenshots

Run with Scheduled Task present



Run without Scheduled Task (reminder how to create)

SPBestWarmUpPS-1.png

Install to create Scheduled Task



NOTE
Running this with a different service account than farm might require you to first grant PowerShell access. This will ensure the service account has access to run "Get-SPWebApplication" and read ConfigDB for which URLs to load. http://technet.microsoft.com/en-us/magazine/gg490648.aspx


Do you have issues with this script or even a cool idea that should be implemented? Please, leave us a ticket in the Issues section on this project page. We would love to hear about your feedback!

Best,
Jeff

http://www.spjeff.com

Last edited Jan 27 at 9:41 PM by Samurai_ka, version 24