MDT 2010: Variables.DAT

I’ve withdrawn todays blog and replaced it as I was exhausted yesterday and pushed out my article incomplete. What I wanted to share was an easy and quick way to access all the variables collected in your deployment. I’ll republish my article on ZTIGather when its complete.

During your deployments, in the folder C:\MININT\SMSOSD\OSDLOGS there’s a file called variables.dat. This is where MDT stores the values for all the properties that it has collected.

Copy this file somewhere and rename it to *.XML then open it in your browser to get an output like this:

image

Going through this is one method of understanding what information MDT collects and also, the variables that you can use in your task sequence conditional statement or script variables. You can also edit this DAT file on the fly and change the values in it, but I’ll talk about that in a future blog.

This will save you reinventing the wheel by scripting information that is already collected.

Advertisements

About Andrew Barnes

A Scripting and Deployment Specialist.
This entry was posted in Deployment, MDT 2010 and tagged , . Bookmark the permalink.

3 Responses to MDT 2010: Variables.DAT

  1. Pingback: Listing the MDT Variables with Windows Powershell | Energized About Technology

  2. I was playing with PowerShell today and decided to use it to parse out VARIABLES.DAT – Here you go! 🙂

    http://ye110wbeard.wordpress.com/2013/04/10/listing-the-mdt-variables-with-windows-powershell/

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s