Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

How does a script know its in a task sequence?

$
0
0

I want to pass a variable back to a task sequence from a script.  This script is in a package, and could be run as an advert or from the TS.  If I try to enable Microsoft.SMS.TSEnvironment and I'm not in a TS, it will generate an error. 

Is there a way I can KNOW that I'm in a TS prior to doing so?


Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>