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
 
     

Adding date to the captured WIM File in MDT

Feb 27 2014

When using the build and capture task sequence in MDT Lite Touch it make perfect sense to add date information to the WIM file name created. Since CustomSettings.ini understands inline VBScript you can simply set the following:

BackupFile=%TaskSequenceID%_#year(date) & "-" & day(date) & "-" & month(date)#.wim

Note: Make sure you don’t have “ (curly quotes) in the .ini file but instead use " (straight quotes)

Sample

Below is the output from simulating (in PowerShell) a sample CustomSettings.ini file.

[Settings]
Priority=Init, Default

[Init]
TaskSequenceID=REF-W7SP1-X64

[Default]
BackupFile=%TaskSequenceID%_#year(date) & "-" & day(date) & "-" & month(date)#.wim

 

image
Running the MDT simulation process in PowerShell.








Happy deployment, and thanks for reading!
/ The Deployment Research team



Ami Casto

Johan Arwidmark

Blog Archive

Minimize