No Report being generated


Samples: 997590
The command completed successfully.
All counter stats is set to true. Loading all counters in perfmon log into the t
hreshold file as new analyses. This may take several minutes.
Getting the counter list from the perfmon log...Getting the counter list from th
e perfmon log...
relog.exe "Z:\Documents\Network\PMHF\WebStats\PMHFWS01\WebService_00006.tsv" -q
-o "C:\Users\cbailey\AppData\Local\Temp\2{270d094d-b79d-47e9-8ee0-433faf854fb3}
Input ---------------- File(s): Z:\Documents\Network\PMHF\WebStats\PMHFWS0
1\WebService_00006.tsv (TSV) Begin: 11/1/2013 12:02:06 End: 15/1/2013 8
:24:35 Samples: 997594 The command completed successfully.
Getting the counter list from the perfmon log...Done!
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.
Property 'Count' cannot be found on this object. Make sure that it exists.
At C:\Program Files\PAL\PAL\PAL.ps1:1731 char:21
  • $u = $oTextFile. <<<< Count
    • CategoryInfo : InvalidOperation: (.:OperatorToken) [], ParentCo
    • FullyQualifiedErrorId : PropertyNotFoundStrict
Closed Mar 15, 2013 at 8:30 PM by ClintH
Solved by user.


lordzowy wrote Jan 15, 2013 at 4:14 PM

I was able to fix this one:

Function GetCounterListFromBlg
$global:sOriginalCounterListFilePath = $global:htScript["SessionWorkingDirectory"] + '\OriginalCounterList.txt'
$sCommand = $('relog.exe ' + "`"$sBlgFilePath`"" + ' -q -o ' + "`"$global:sOriginalCounterListFilePath`"" )
Write-Host 'Getting the counter list from the perfmon log...'
Write-Host $sCommand
$sOutput = Invoke-Expression -Command $sCommand
Write-Host $sOutput
Write-Host 'Getting the counter list from the perfmon log...Done!'
If ($(Test-Path -Path $global:sOriginalCounterListFilePath) -eq $False)
    Write-Error '[GetCounterListFromBlg] Failed to create the original counter list using relog.exe using the following command:'
    Write-Error $sCommand
    Break Main;
$oTextFile = Get-Content $global:sOriginalCounterListFilePath
#$u = $oTextFile.Count
$m = $oTextFile | measure 
$u = $m.count
#Write-Host 'U count:' $u 
$global:aOriginalCounterList = $oTextFile[0..$u]
Return $global:aOriginalCounterList

ClintH wrote Jan 16, 2013 at 9:57 AM

Ah, thanks. I'm not sure what the difference is, but I am testing the changes. Thanks!

lordzowy wrote Jan 16, 2013 at 2:13 PM

I was only using a single perfmon object, this might have had something to do with it.

.count will not work on Content object for some reason. I don't know why or when it was changed.

To get around it you have to measure the object first, this will generate the details, then you can preform the .count on the measure results. I tried to shrink the number of lines but it won't allow me to pipe it more than once. I'm not sure what the difference is either but this did work out.

wrote Feb 22, 2013 at 1:46 AM

wrote Mar 15, 2013 at 8:30 PM

wrote May 16, 2013 at 12:56 PM