The Hash processor "#" is a feature of ZTIGather.wsf so it will get picked up when processing the cs.ini file.
The SCCM Task Sequencer doesn't understand the Hash tag, so no processing
will be performed.
If you wanted to get this working in a TS, I would modify the
ZTISetVariable.wsf script from:
oEnvironment.Item(oEnvironment.Item("VariableName")) =
oEnvironment.Item("VariableValue")
To:
oEnvironment.Item(oEnvironment.Item("VariableName")) =
oEnvironment.Substitute(oEnvironment.Item("VariableValue"))
-k
From: [email protected] [mailto:[email protected]]
On Behalf Of [email protected]
Sent: Friday, September 27, 2013 10:28 AM
To: [email protected]
Subject: [MDT-OSD] MDT issue with setting variable in TS
I'm setting the below in my task sequence, and the values are not being
filled in. When setting a TS Variable in the TS, should it expand the
values, or do I need to expand them to a custom variable in
customsettings.ini and just reference that in the TS?
BackupFile=Win8.1_x64_Ent_#day(date) & "_" & month(date) & "_" & year(date)#
Christopher Catlett
Consultant | Detroit
Sogeti USA
Office 248-876-9738 |Fax 877.406.9647
26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456
<http://www.us.sogeti.com/> www.us.sogeti.com
<<image001.jpg>>
