Task Sequence variables
Hello
We have a task sequence that collects information at the beginning for use throughout the task sequence. The issue is with the one of the values is the possibility of 2 % characters together and when evaluated causes the TS to fail.
When the value of the variable is enumerated only 1 % character is present.
A sample vbscript below illustrated this issue
Dim oEnv
Set oEnv=CreateObject("Microsoft.SMS.TSEnvironment")
oEnv("Test1")="a%%b"
MsgBox oEnv("Test1") 'returns "a%b", drops a percent sign
My questions are:
1) Are certain "special" characters restricted for use like &,$,%,\,/ etc that may evaluate as a function and not a character?
2) Is there a method to do a literal evaluation of the variable?
Thanks
May 18th, 2011 2:35pm
An Update to my last post - It appears that the only character that is having issues is the % character when used in multiples together
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2011 3:25pm
Michael Niehaus says this is a known issue in the task sequencer.
Thanks Mike!
May 19th, 2011 7:39am