Task Sequence condition to install a software for mobile devices only
I have a software that should only be installed on Tablets and laptops. I would like to add a condition to my OSD task sequence such that if the target machine is a laptop or tablets then the software would be installed otherwise it will
be skipped. Should I use an If or WMI condition for this? Can someone help me with this?
I have a collection based query that searches for all the tablets and laptops, but I don't think I can just copy and paste the whole thing into the OSD task sequnece condition. it is as followed:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID
= SMS_R_System.ResourceId where SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ("8","9","10", "11", "12", "
December 8th, 2010 2:24pm
Most laptops/portable systems is using a Battery, so this should work for you:
Select * from Win32_Battery where BatteryStatus <> 0
Ronni Pedersen | Configuration Manager MVP | Blog: http://ronnipedersen.com/ | Twitter @ronnipedersen
Free Windows Admin Tool Kit Click here and download it now
December 8th, 2010 2:36pm
You can use the IsLapTop function in the rules for MDT 2010 Zero Touch to target application installs to only laptops.
/ Johan
December 8th, 2010 3:19pm