You are here:   Research
  |  Login

Welcome to my blog, quickest way to find articles is usually to search for them.

Search in All Title Contents

List Task Sequence Variables in SCCM 2012

Apr 16 2015

When troubleshooting OSD in SCCM 2012 it’s quite useful to enumerate the various task sequence variables. Here is a script that does that:

The EnumTSVariables.vbs script

By default the script simple outputs to the console, but you can easily pipe the result to a text file: cscript EnumTSVariables.vbs > X:\Result.txt

Dim oTSEnv 

Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment") 

Dim oVar

For Each oVar In oTSEnv.GetVariables
    WScript.Echo " "
    WScript.Echo "  "& oVar & vbTab & oTSEnv(oVar) & vbTab

Happy Deployment

/ Johan

Deployment News

Happy deployment, and thanks for reading!

What our lawyers makes us say:

This information is provided "AS IS" with no warranties, confers no rights and is not supported by the authors or Deployment Artist.

Copyright © 2017 by Deployment Artist (the company behind deployment research). All rights reserved. No part of the information on this web site may be reproduced or posted in any form or by any means without the prior written permission of the publisher.

Shorthand: Don't pass off our work as yours, it's not nice.

Blog Archive


Where you can meet us!

Live Stream Recordings
ConfigMgr 1806 and W10 OSD

5 Days - Mega Geek Week 
(multiple classes, ConfigMgr, OSD etc.)
- Johan Arwidmark, Mikael Nystrom...
Jun 10, 2019, Chicago, IL, US

4 Days - Windows 10 OSD Classes
- Johan Arwidmark
May 20, 2019, San Diego, CA, US
Jun 17, 2019, Culemborg, NL
Jul 8, 2019, Phoenix, AZ, US

5 days - ConfigMgr Classes
- Johan Arwidmark and Kent Agerlund
Apr 8, 2019, Chicago, IL, US
Apr 22, 2019, Houston, TX, US

Video-based trainings

MDT, Windows 10 and ConfigMgr Books

Contact Info