Hope this finds you all well, and having a great start to 2013.
I had a quick search of the forums, and didnt find anything related
Also hit google / bing and found nearly what i am after.
I thought I would ask here as someone is bound to have done what i am trying to achieve.
I would like to set a condition on some software in my sccm 2012 task sequence to only deploy certain apps if the client is a laptop, and only install some others if it is a desktop.
Thus a single task sequence with a bit of logic.
At the moment i have 2 task sequences one for laptops and one for desktops. - This is fine, just wanted to know how to do it really.
I have located the codes for the chassis type / system enclosure, and locally on my box, have been able to return the chassis type / enclosure type via wmi.
I have also seen this is alot easier if you integrate mdt 2012 and use the ISLAPTOP, ISDESKTOP, IS SERVER env vars.
I have also seen the "check to see if has a battery >0" example somewhere on google.
Using chass/enclosure as the condition is better than battery>0
HOWEVER.... how easy is it to do the same thing without installing MDT
I was thinking wmi, but cant seem to get my command prompt syntax to be valid within sccm.
Has anyone done this or similar before ? And if so - could you point me in any direction.
Hi Guys and Gals,
Hope this finds you all well, and having a great start to 2013.
I had a quick search of the forums, and didnt find anything related
Also hit google / bing and found nearly what i am after.
I thought I would ask here as someone is bound to have done what i am trying to achieve.
I would like to set a condition on some software in my sccm 2012 task sequence to only deploy certain apps if the client is a laptop, and only install some others if it is a desktop.
Thus a single task sequence with a bit of logic.
At the moment i have 2 task sequences one for laptops and one for desktops. - This is fine, just wanted to know how to do it really.
I have located the codes for the chassis type / system enclosure, and locally on my box, have been able to return the chassis type / enclosure type via wmi.
I have also seen this is alot easier if you integrate mdt 2012 and use the ISLAPTOP, ISDESKTOP, IS SERVER env vars.
I have also seen the "check to see if has a battery >0" example somewhere on google.
Using chass/enclosure as the condition is better than battery>0
HOWEVER.... how easy is it to do the same thing without installing MDT
I was thinking wmi, but cant seem to get my command prompt syntax to be valid within sccm.
Has anyone done this or similar before ? And if so - could you point me in any direction.
As always, any help is really appreciated,
Thanks and regards,
WAZZIE
Share this post
Link to post
Share on other sites