Probing on hrSWRunParameters

Hi there,
Long time reader, first time poster.

There is a wonderful probe out there that checks for outlook.exe using oid 1.3.6.1.2.1.25.4.2.1.2

This is great, but I have multiple instances of the same executable running, each with different parameters.

So if the program I am checking for is called Format.exe, I might have one with the parameter of Printer1. I did see that oid 1.3.6.1.2.1.25.4.2.1.5 should give me what I’m looking for, but for the life of me I don’t see how I can pair up hrSWRunName and hrSWRunParameters to check if the correct instance of the program is running.

Any help would be greatly appreciated.