OneScript Team Blog

A world of automation script samples based on IT Pros' real-world tasks

[Script of Mar. 18] PowerShell Scripts to Warm-Up Applications in Microsoft SharePoint Server 2010

[Script of Mar. 18] PowerShell Scripts to Warm-Up Applications in Microsoft SharePoint Server 2010

  • Comments 2
  • Likes

Script Download:

This script could be used to warm-up site application.

Application warm-up is requested to improve customer experience for the sites taking long time on initialization after application pool recycling.

image image

You can find more All-In-One Script Framework script samples at

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Here is the script that I use.  The benefit is that is uses the SharePoint snapin to determine what sites are available in the farm and hits each one to warm it up.  New sites will automatically be warmed up.  I schedule it on one of the web front end servers in the farm.

    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction:SilentlyContinue

    function Get-WebPage





    Write-Host "Getting $url"

    $wc = New-Object Net.Webclient

    $wc.Credentials = [System.Net.CredentialCache]::DefaultCredentials

    return $wc.DownloadString($url);


    Get-SPWebApplication -IncludeCentralAdministration | %{ Get-SPSite $_.Url } | Get-SPWeb | %{

       $null = Get-WebPage -url $_.Url

    $_.Lists | ?{ -not $_.Hidden } | %{

           Get-WebPage "$($_.ParentWeb.Site.Url)$($_.DefaultViewUrl)" | Out-Null



  • Thanks for the great info. I really loved this. I would like to apprentice at the same time as you amend your web site, how could i subscribe for a blog site?
    For more info on showbox please refer below sites:
    Latest version of Showbox App download for all android smart phones and tablets. - It’s just 2 MB file you can easily get it on your android device without much trouble. Showbox app was well designed application for android to watch movies and TV shows, Cartoons and many more such things on your smartphone.
    For showbox on iOS (iPhone/iPad), please read below articles:
    Showbox for PC articles:
    There are countless for PC clients as it is essentially easy to understand, simple to introduce, gives continuous administration, effectively reasonable. it is accessible at completely free of expense i.e., there will be no establishment charges and after establishment it doesn't charge cash for watching films and recordings. Not simply watching, it likewise offers alternative to download recordings and motion pictures. The accompanying are the strides that are to be taken after to introduce Showbox application on Android. The above all else thing to be done is, go to the Security Settings on your Android telephone, Scroll down and tap on 'Obscure sources'.
    Movie Box, an esteemed movies application in which you can find stacks of programs and films. The guide is given here to download Movie Box app to Android and to Apple iOS 9.0.2, iOS 8.4/8.3 and also for the lower versions without Jailbreak.
    Please do login to Showbox application with the help of Ymail. You can login in Ymail from here -
    Sign Up & Do registration for latest movies on Showbox application