A Windows example is available here. Also, checkout @strawgate C3 Inventory content in his GitHub. For Linux endpoints, you’ll likely need to create a fixlet + analysis solution. Take a look at the “Shell Shock” analysis and fixlet in the “Patching Support” external site for more details on this type of solution. You could then use the last command for you specific scenario.