%PDH.Add(...)
before you can use this function. The function demands the identifier of the performance counter.%PDH.Add('\System\Processes',CID1) %PDH.Remove(CID1)The first line adds the performance counter
\System\Processes
and assigns the identifier CID1
to it. The second line removes the performance counter.