Thank you Daniel, will try with option 1 first, that should do it.

From: [email protected] [mailto:[email protected]] On 
Behalf Of Daniel Ratliff
Sent: Freitag, 18. März 2016 14:33
To: [email protected]
Subject: [mssms] RE: install software in OSD depending on computername

A couple ways come to mind.


1.       Use a condition on the Install Package/App step to query WMI for the 
first 4 of the computer name. Probably from win32_operatingsystem.

2.       Use a script to query the computer name and set TS variables like 
InstallApp1 = True if it meets your criteria. You would still need a condition 
on each Install Package/App step, but this would allow you to control it 
centrally with the script.

Daniel Ratliff

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Kehl Reto
Sent: Friday, March 18, 2016 9:25 AM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] install software in OSD depending on computername

Dear all

I want to install specific software during OSD depending on the first 4 chars 
from the computername, something like "if left$(OSDComputername)="ABCD" then 
install this"
how can I do this?

Thanks,
Reto



The information transmitted is intended only for the person or entity to which 
it is addressed
and may contain CONFIDENTIAL material. If you receive this material/information 
in error,
please contact the sender and delete or destroy the material/information.




Reply via email to