%PDH.Add(...) before you can use this function. The function demands the identifier of the performance counter.
%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.