Outputting Task Sequence Variables

From The IT Community
Jump to: navigation, search




For troubleshooting purposes, all task sequence variables can be outputted using a simple script:

Set env = CreateObject("Microsoft.SMS.TSEnvironment")
For each variable in env.GetVariables
	WScript.Echo variable & " = " & env(variable)
Next 


Call Dumpvar.vbs using a Run Command Line action

cmd.exe /c cscript.exe DumpVar.vbs >> %Temp%\DumpVar.txt


Was this article helpful? Then please donate to keep The IT Community alive...

If you found this article helpful please share it, comment and help others by writing your own article.






Translate this page:




Articles found in the same category:
(max. 20 shown)