jpaczynski Posted March 5, 2014 Report post Posted March 5, 2014 Hi, I would like to ask is there any way to set up in TS that is choosing which software to install by hostname? Lets say I have got 2 versions of Office. One for students and one for Teachers. When I reimaging unit I normally type in Hostname. One is for students and other for Staff: SL-01 or TL-01. Instead of creating two separate TS, how I can gather Hostname and let SCCM to choose which Office to install? I know there is a way with Drivers where you can use WQL Query "Select * from WIN32_ComputerSystem..." to check what model it is and install the right drivers. Can we use something similar to choose by Hostname? Hope its clear Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted March 5, 2014 Report post Posted March 5, 2014 that exact question is discussed here Quote Share this post Link to post Share on other sites More sharing options...
jpaczynski Posted March 6, 2014 Report post Posted March 6, 2014 Thank you. Unfortunately can't do it that way. What about if we try to input all Hostnames in text file and let SCCM search through it, then when hostname from text file = our input on begin lets run install software? Is that will works? If possible can someone tell me how to do it? Quote Share this post Link to post Share on other sites More sharing options...
jpaczynski Posted March 6, 2014 Report post Posted March 6, 2014 Hi guys, I think I managed to do it . I will run another test tomorrow with different software and will share with you all what I have done. Quote Share this post Link to post Share on other sites More sharing options...
jpaczynski Posted March 11, 2014 Report post Posted March 11, 2014 Hi, Sorry for delay but been busy. Here you got WMI Query what I am using and its working. Select * from Win32_OperatingSystem where CSName like "partial_hostname%" Let me know how it works for you. More you can find on http://ithowto.turtleweb.co.uk/ "spread the love" Quote Share this post Link to post Share on other sites More sharing options...