Setting Custom Action Condition
I'm trying to set a condition for a CA.
At first I get the Computername to a Property. F.e. the property "COMPUTERNAME"="ds-fed"
The next CA should only run, if the property "COMPUTERNAME" contains "ds". I need a condition with an "LIKE".
Can anybody please help me to get the right condition.
Set objNet = CreateObject("WScript.Network") strCompName = objNet.ComputerName .... If Left(strCompName,3) = "XYZ" Then ...... End If