You are here:   Research
  |  Login

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

Minimize
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
Next
  

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

Minimize