add "not like" in the task sequence condition, variable
Add "not like" in the task sequence condition, variable. If we have like, wouldn't it be reasonable to have not like as well? I have some scenarios that are easily resolved with a "not like" condition for a task sequence variable, but more complex with just "like"
Updating status to planned – see https://docs.microsoft.com/en-us/mem/configmgr/core/understand/find-help#send-a-suggestion for an explanation of each value.
Expanding the accepted wildcards in task sequence conditions would be a big help. Being unable to use operators such as [0-9] is problematic and it's confusing to use % and _ in one area vs * and ? in another to represent the same thing. At the very least this should be documented.
Although not documented (?), this seems to be working in v1710. Please note, wildcard characters are "*" and "?". "%" does not work.
I'm using Task sequence variable _SMSTSMachineName like "K-*".
See also the ConfigMgrTeam comment on https://www.reddit.com/r/SCCM/comments/6zg9az/why_is_there_a_like_condition_for_task_sequence/
Matthew Hedeen commented
Add a LIKE operator to the Task Sequence Options Tab - Task Sequence Variable Condition