I believe what Jason was suggesting was to write a small VB script that would 
just pull the first two characters from the computer name and assign that to a 
new variable.

Then you’re steps could use logic something like this:
IF %CompNamePreFix% = QL
IF %CompNamePreFix% = RS

Mike


From: [email protected] [mailto:[email protected]] On 
Behalf Of Murray, Mike
Sent: Thursday, July 31, 2014 11:51 AM
To: [email protected]
Subject: RE: [mssms] Help with task sequence variable logic

The task sequence variable is already there. Not sure what you mean here?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jason Wallace
Sent: Thursday, July 31, 2014 8:49 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [mssms] Help with task sequence variable logic

Write a small vbscript to dump the first two characters to a task sequence 
variable and then query it

On 31 Jul 2014, at 17:47, "Murray, Mike" 
<[email protected]<mailto:[email protected]>> wrote:
I have a couple of steps in our TS that I want to execute for one set of 
computers based on their naming convention, and another set of steps for 
another set of computers with a different naming convention. The two naming 
conventions start with:

QL-
RS-

If I use the argument under options, task sequence variable OSDComputerName 
greater than or equal to “QL-%”, both naming conventions match the requirement, 
and I don’t want that. If I just use equals, it doesn’t work at all.

Is there some other way to work this logic?


Best Regards,

Mike Murray
Desktop Management Coordinator - IT Support Services
California State University, Chico
530.898.4357
[email protected]<mailto:[email protected]>




**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be 
used for urgent or sensitive issues 

Reply via email to