locked
Install software on all computers except one model RRS feed

  • Question

  • I would like to install an application on all my models except one.  I am using the WMI query listed below but it's not working.

    SELECT * FROM Win32_ComputerSystem WHERE NOT Model LIKE “%HP ProBook 650 G2%” 

    Any help would be greatly appreciated.

    Tuesday, July 19, 2016 1:18 PM

All replies

  • Using the MDT variables make it easier to do and lessens the chance of screwing up the syntax.  In the Options tab for the application task, click Add> Task Sequence variable - Model not equal HP ProBook 650 G2.  Then click Add> If Statement - All conditions.
    • Proposed as answer by BiAtE-Z Wednesday, July 20, 2016 5:48 PM
    Tuesday, July 19, 2016 6:59 PM
  • That was the first thing I tried but I didn't add the If Statement.  I'll try that and keep you posted.

    Thanks,

    Andy

    Wednesday, July 20, 2016 1:16 PM
  • That did the trick.

    Thank you for your help!

    Andy

    Wednesday, July 20, 2016 3:35 PM