Skip to content

TS choose by Hostname

Featured Replies

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 :)

  • Author

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?

  • Author

Hi guys,

 

I think I managed to do it :D .

I will run another test tomorrow with different software and will share with you all what I have done.

  • Author

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"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.