How can I search for a missing PATH entry using a custom inventory rule?
Community Chosen Answer
Then create a report that has a filter using your cir contains ;%systemroot%\system32;
Also when I checked my machine my path is ;c:\windows\system32; not %systemroot%
If you want it to show just that entry to be the only path portion in the cir you would need to pipe this command into a for do loop to filter for that.