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
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.
- 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
- 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
- After reboot run this command to manually trigger the job and warm up IIS
- SCHTASKS /RUN /TN "SPBestWarmup"
Run with Scheduled Task present
Run without Scheduled Task (reminder how to create)
Install to create Scheduled Task
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.
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!