This project is read-only.

Step by Step Guide

1. Download SPSWakeUP.zip

2. Unzip and copy the files on each Web Front-End

3. Modify input xml file for Configuration

Dont't forget to change Service Account for Automatic Installation

<!-- This section helps to install this script in a new Sheduled Task -->
<Install Enable="true">
  <!-- Service Account Used for running the Scheduled Task -->
  <ServiceAccount>CONTOSO\svc_sp_farmsetup</ServiceAccount>
</Install>
<Settings>
  <!-- Disables network loopback checks. This prevents the OS blocking access to your server under names other than its actual host name -->
  <DisableLoopbackCheck>true</DisableLoopbackCheck>
  <!-- Add URL of Web Application in HOSTS system file -->
  <AddURLsToHOSTS>true</AddURLsToHOSTS>
  <!-- Add URL of Web Application in Intranet security zone -->
  <AddURLsIntranetZone>true</AddURLsIntranetZone>
  <!-- Disable Internet Explorer Enhanced Security Configuration for administrators -->
  <DisableIEESC>true</DisableIEESC>
  <!-- Include Central Administration Url in WarmUp -->
  <IncludeCentralAdmin>true</IncludeCentralAdmin>
  <!-- Use internet explorer for WarmUp -->
  <UseIEforWarmUp>true</UseIEforWarmUp>
  <!-- This section helps to configure the retention of log files -->
  <CleanLogs Enable="true">  
  <!-- Number of Days for keeping Logs Files -->
    <Days>30</Days>
  </CleanLogs>
</Settings>

4. Modify input xml file for Custom Urls and Exclude Urls

<!--- This CustomUrls section add urls to be warming up. -->
  <CustomUrls>
    <CustomUrl>http://intranet/SitePages/utilities.aspx</CustomUrl>
    <CustomUrl>http://intranet/SitePages/pagenotfound.aspx</CustomUrl>
    <CustomUrl>[ADD URL HERE]</CustomUrl>
  </CustomUrls>
<!--- This ExcludeUrls section remove site collection urls to be warming up.-->
  <ExcludeUrls>
    <ExcludeUrl>http://intranet/search</ExcludeUrl>
    <ExcludeUrl>http://intranet/sites/Admin</ExcludeUrl>
    <ExcludeUrl>[ADD URL HERE]</ExcludeUrl>
  </ExcludeUrls>

5. Add automatically Task Scheduler item with program PowerShell.exe :

Run PowerShell with Administrator Role
Navigate to the script folder and run this command : .\SPSWakeUP.ps1 .\SPSWakeUP.xml

Last edited Aug 25, 2015 at 2:53 PM by Luigilink, version 24