Jump to content


Adam Bise

Task Sequence Conditional Steps

Recommended Posts

First off, thanks for all the help. It is appreciated.

 

What I'm trying to do now is add several "apply driver package" steps with a WMI query. But I would also like to add "auto apply drivers" if none of the driver package steps ran.

 

So I was looking for a way to check if a previous step evaluated it's condition as false, set a variable, and then repeat for each driver package step until the auto apply section is reached, which would check the variable. However I can't seem to figure out how to check if a previous step was skipped. I tried _SMSTSLastActionSucceeded but it ignores steps that were skipped due their conditions weren't met.

 

Any suggestions?

Share this post


Link to post
Share on other sites

Hi,

You should be able to copy all the WMI queries from your models to the Apply Drivers step and then use the IF NONE option..

From Technet:


None Select this option if none of the conditions contained in the If Statement can evaluate to True for the If Statement to evaluate to true. This option is equivalent to a Boolean NOT AND.

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.