List Task Sequence Variables and Values Script

For years I have been using the following script from myITforum to list Task Sequence Environment Variables and Values Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment") For Each oVar In oTSEnv.GetVariables WScript.Echo oVar & "=" & oTSEnv(oVar) Next Because there are so many variables, the only useful way to use the script is to pipe the output into a file, then open that file and search for the variable and its value. So I have created the created Read More …