Setting in the TS worked great, Thanks again. I'll keep from tweaking the built-in scripts, until at least after MDT 2013 RTM releases.
Christopher Catlett Consultant | Detroit [MCTS_2013_small] Sogeti USA Office 248-876-9738 |Fax 877.406.9647 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456 www.us.sogeti.com<http://www.us.sogeti.com/> From: [email protected] [mailto:[email protected]] On Behalf Of Catlett, Christopher Sent: Friday, September 27, 2013 1:57 PM To: [email protected] Subject: RE: [MDT-OSD] MDT issue with setting variable in TS Thanks for the fast response. Trying setting it in customsettings.ini now. Christopher Catlett Consultant | Detroit [MCTS_2013_small] Sogeti USA Office 248-876-9738 |Fax 877.406.9647 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456 www.us.sogeti.com<http://www.us.sogeti.com/> From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Keith Garner Sent: Friday, September 27, 2013 1:44 PM To: [email protected]<mailto:[email protected]> Subject: RE: [MDT-OSD] MDT issue with setting variable in TS 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]> [mailto:[email protected]] On Behalf Of [email protected]<mailto:[email protected]> Sent: Friday, September 27, 2013 10:28 AM To: [email protected]<mailto:[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 [MCTS_2013_small] Sogeti USA Office 248-876-9738 |Fax 877.406.9647 26957 Northwestern Highway, Suite 130, Southfield, MI 48033-8456 www.us.sogeti.com<http://www.us.sogeti.com/>
<<inline: image001.jpg>>
