here’s a decent example for option 1 http://fritschetom.blogspot.com/2012/03/sccm-task-sequence-add-wmi-condition.html
> On Mar 18, 2016, at 9:32 AM, Daniel Ratliff <[email protected]> wrote: > > 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] > <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.
