Invoke-Expression : The variable '$m' cannot be retrieved because it has not be en set.

Jul 23, 2012 at 6:49 PM

Was running PAL_Setup_v2.3.1_x86.zip on Vista 32x machine for parsing MOSS 2007 Index server perf counts and after sometime it threw the following error. (BTW: Looks like there is no latest version is available for x64, right?)

WARNING: Please post errors or problems with this tool to the PAL web site
located at http://www.codeplex.com/PAL with the following error message and a
brief description of what you were trying to do. Thank you.


Invoke-Expression : The variable '$m' cannot be retrieved because it has not be
en set.
At C:\Program Files\PAL\PAL\PAL.ps1:3331 char:22
+     Invoke-Expression <<<<  -Command $sCode
    + CategoryInfo          : InvalidOperation: (m:Token) [Invoke-Expression],
    RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined,Microsoft.PowerShell.Command
   s.InvokeExpressionCommand

Coordinator
Jul 25, 2012 at 3:19 AM

Actually, the latest is PAL_Setup_v2.3.2_x64.zip. It is the first item for download on the Download page. http://pal.codeplex.com/releases/view/51623

That error indicates that there might be a problem with the threshold file, but it doesn't say which one.