Use this: SecureBoot+=(.*)
And for your ObjectName just have this: SecureBoot
List of Attributes:Status
This will create a new value under Custom Inventory called "SecureBoot" and the data returned will either be Enabled or Disabled.
Doing it this way you will capture All possibilities...
Go to https://Regex101.com to test your regex... It is the only way!
1 of 1 people found this helpful
I forgot to add... Make sure you add a second step to "Update Custom Inventory" or else you will not see results in Console!
Let us know if that worked!
Thank you! My first experience with Regular Expressions.... Not fun.
Glad that worked for you... I agree that Regular Expression is hard to understand at first, or for a while anyway... big learning curve. BUT very POWERFUL, and extremely useful to gather data that would otherwise be very hard to collect from every device and put it in a format to query or report against.