Save Image with 2 Arguments error :( Please help

Oct 14, 2014 at 5:02 PM
Edited Oct 14, 2014 at 6:46 PM
my settings are the following :

Powershell ".\PAL.ps1"

-Log 'C:\Shaan\MTLWAERM007\eRoomDailyPerf-MTLWAERM007-08-10-2014.csv'

-ThresholdFile 'C:\Shaan\eroom.xml'

-Interval 'AUTO'

-IsOutputHtml $True

-HtmlOutputFileName '[LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm'

-IsOutputXml $True

-XmlOutputFileName '[LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml'

-AllCounterStats $False

-NumberOfThreads 1

-IsLowPriority $False

Error is :

Invoke-Expression : Exception calling "SaveImage" with "2" argument(s): "Could not find a part of the path 'C:\Users\si
dsha00\False\Processor_Percent_User_Time0.png'."
At C:\Shaan\PAL\PAL\PAL\ScriptReport_Create.ps1:15 char:18
  • Invoke-Expression <<<< "$cmd $Log $ThresholdFile $Interval $IsOutputHtml $HtmlOutputFileName $IsOutputXml $XmlOutput
    FileName $AllCounterStats $NumberOfThreads"
    • CategoryInfo : NotSpecified: (:) [Invoke-Expression], MethodInvocationException
    • FullyQualifiedErrorId : DotNetMethodException,Microsoft.PowerShell.Commands.InvokeExpressionCommand