This project is read-only.


v2.3.2 The variable '$SixtyFourBit' cannot be retrieved because it has not been set.


Running this command:
& 'C:\Program Files\PAL\PAL\PAL.ps1' -Log 'C:\Network_Monitoring\Performance Counters\myserver\Perfmon_Logs\Performance Counter.blg' -ThresholdFile 'C:\Program Files\PAL\PAL\SystemOverview.xml' -IsOutputHtml $true -HtmlOutputFileName '[LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm' -OutputDir 'C:\Network_Monitoring\Performance Counters\myserver\PAL_Reports'
I get this error:
Invoke-Expression : The variable '$SixtyFourBit' cannot be retrieved because
it has not been set.
At C:\Program Files\PAL\PAL\PAL.ps1:3361 char:5
+     Invoke-Expression -Command $sCode
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (SixtyFourBit:String) [Invoke-
   Expression], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined,Microsoft.PowerShell.Command
In the PAL.ps1 there is no $SixtyFourBit param nor is there a $SixtyFourBit variable anywhere in the script.
#requires -Version 2.0
param($Log,$ThresholdFile="QuickSystemOverview.xml",$Interval='AUTO',$IsOutputHtml=$True,$IsOutputXml=$False,$HtmlOutputFileName="[LogFileName]_PAL_ANALYSIS_[DateTimeStamp]_[GUID].htm",$XmlOutputFileName="[LogFileName]_PAL_ANALYSIS_[DateTimeStamp]_[GUID].xml",$OutputDir="[My Documents]\PAL Reports",$AllCounterStats=$False,$BeginTime=$null,$EndTime=$null,[System.Int32] $NumberOfThreads=1)
Set-StrictMode -Version 2 #// Contributed by Jeffrey Snover
Closed Oct 3, 2013 at 6:31 PM by ClintH


red888 wrote Jun 18, 2013 at 1:41 PM

This is running on an x86 Windows 7 SP1 machine

red888 wrote Jun 18, 2013 at 1:59 PM

oops never mind, I figured it out using the wizard.

ClintH wrote Jun 25, 2013 at 10:33 PM

The parameter $SixtyFourBit is located in the QuickSystemOverview.xml threshold file which is inherited by nearly all of the other threshold files, so this is why it seems standard. The error that you are getting indicates a problem with the code of one of the threshold files.

ClintH wrote Oct 3, 2013 at 6:31 PM

wrote Oct 3, 2013 at 6:31 PM