This project is read-only.

positional parameter on script install

Jan 14, 2016 at 12:55 PM
.\SPBestWarmup.ps1 -install gives following error.

Write-Verbose : A positional parameter cannot be found that accepts argument
'Found'.
At C:\software\SPScripts\SPBestWarmup.ps1:70 char:2
  • Write-Verbose -Message ""Found $appPools.Count Application Pool""
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidArgument: (:) [Write-Verbose], ParameterB
      indingException
    • FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell
      .Commands.WriteVerboseCommand
Developer
Jan 27, 2016 at 7:41 PM
This issue has been fixed. Please use the latest version from the repository for now.
https://spbestwarmup.codeplex.com/workitem/22121
Marked as answer by Samurai_ka on 1/27/2016 at 11:41 AM
Developer
Jan 27, 2016 at 8:45 PM
Updated the release as well!