Hi each time I run the new version I get the following error and the program continues and terminates correctly displaying the expected results.
Overall progress... Status: Creating a counter index, PAL 2.7.2 Progress: 41%... Creating a counter index,
An error occurred on...
$sCounterComputer = $oCtr.Computer
At C:\Program Files\PAL\PAL.ps1:1458 char:32 + $sCounterComputer = $oCtr. <<<< Computer
Property 'Computer' cannot be found on this object. Make sure that it exists.
Can someone please advise how to stop this error occurring ?
Thanks
Alan
Comments: ** Comment from web user: ClintH **
Overall progress... Status: Creating a counter index, PAL 2.7.2 Progress: 41%... Creating a counter index,
An error occurred on...
$sCounterComputer = $oCtr.Computer
At C:\Program Files\PAL\PAL.ps1:1458 char:32 + $sCounterComputer = $oCtr. <<<< Computer
Property 'Computer' cannot be found on this object. Make sure that it exists.
Can someone please advise how to stop this error occurring ?
Thanks
Alan
Comments: ** Comment from web user: ClintH **
I reproduced the problem using your CSV file. The CSV file that you uploaded had some odd text in it where a counter path should be. It looks like it was placed there by Perfmon, but I'm not sure. In any case, I fixed it in PAL 2.7.5.
Replace Pal.ps1 with the attached file and give it a go.