UIM vmware probe template : VM name based "OR" example using regex

Document ID : KB000112376
Last Modified Date : 29/08/2018
Show Technical Document Details
Introduction:
if you want one template to apply some selective VMs and "OR" like expression is required to define VMs selection,
you can use Regular Expression.

NOTE
This KB is applicable when you are using Admin Console based template for vmware probe.
This KB is not applicable when you are using Infrastructure Managed based GUI for vmware probe.


 
Environment:
vmware probe 6.87
Instructions:

Example

You want to apply template VM name (label) contains "2008r2" or "2012r2" or "2016"

 

[Type] Label

[Condition] Regex

[Value] .*2008r2.*|.*2012r2.*|.*2016.*
 

NOTE
The value for Regex is CASE SENSITIVE.
*2008R2* does not match in this example.