Skip to content

Task sequence question

Featured Replies

I was wondering if anyone knows of a way to have a task sequence only execute a task if the task is happening over a network connection and not if it's being done via offline media?

I guess not... What you can do is a script that will run from network location the installation of whatever you want, however I can't see any reason for that because if the content is not available the TS will fail... what is it that you want to accomplish?

  • Author

Some of our applications pull things down when installed when a network connection is present. Otherwise it doesn't. So I'd like an easy way to differentiate when an image is happening over a network PXE or when it's offline media.

 

 

I guess not... What you can do is a script that will run from network location the installation of whatever you want, however I can't see any reason for that because if the content is not available the TS will fail... what is it that you want to accomplish?

If you mean a stand-alone media, that contains all the required content. That's the whole idea of that media. Are you using custom scripts that download additional stuff? If so, you can look at the _SMSTSLaunchMode task sequence variable, which contains the required information.

There you have it! :D I think it's the right answer ;)

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.