If Condition in TS


  • Hi ,

    Want to check if below if statement is good

    I want to run GPO policy when it meets the 2 conditions

    1. ApplyGPOPack is notequal to NO (i.e. should be yes in customsettings.ini)

    2. system model should be equal to any of the 2 model listed

    so this task should run if ApplyGPO is yes and its a virtual machine or APPlyGPOPack=Yes and its a HP 650b system model.

    Saturday, April 20, 2013 6:23 PM

All replies

  • Looks correct.  Best thing is to test it and check the logs to validate it processes / skips at the appropriate times.  You could do this with a small Task Sequence just for validating this step if you wanted.

    David Coulter | | @DCtheGeek

    • Proposed as answer by Ty Glander Tuesday, April 23, 2013 2:00 PM
    Saturday, April 20, 2013 7:43 PM