Use this function to get a value of a performance counter. The performance counter must be added using %PDH.Add(...) before you can use this function. The function demands the identifier of the performance counter.

Example:
%PDH.Add('\System\Processes',CID1)
%PDH.Get(CID1)
The first line adds the performance counter \System\Processes and assigns the identifier CID1 to it. The second line gets the value of the performance counter.