Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue $WebApplication = Get-SPWebApplication <my web application url> [Microsoft.SharePoint.Publishing.PublishingCache]::FlushBlobCache($WebApplication) Write-Host "Flushed the BLOB cache for:" $WebApplication