Still need for details.

Are you using a run command-line task?

Is the command-line something like cscript myscript.vbs with myscript.vbs in a 
package reference in that task?

Have you reviewed smsts.log for execution results?

How are you checking the results?

Are you aware that task sequence variables do not live beyond the execution of 
a single task sequence or outside of that task sequence at all - since I have 
no idea what you are doing, I have to throw this in there to make sure you're 
not thinking of something off the wall like this script setting variables on 
the computer objects themselves within the console/db)?

J

From: [email protected] [mailto:[email protected]] On 
Behalf Of Jason Wallace
Sent: Monday, November 25, 2013 9:19 AM
To: [email protected]
Subject: RE: [mssms] Setting TS Variables in 64 bit

Hi Jason

Right now I am trying to run it in its own TS, just to verify the logic.

The intention will be to dynamically build a list of applications for the 
Install (Multiple) Application phase

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jason Sandys
Sent: 25 November 2013 15:46
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] Setting TS Variables in 64 bit

Where exactly and how are you trying to run the below VBScript?

J

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jason Wallace
Sent: Monday, November 25, 2013 6:24 AM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] Setting TS Variables in 64 bit

Hi there folks

I know that we are not the only folks trying to do this.  We have SCCM 2012 SP1 
with 64 bit clients and we want to set some TS variables.

The code which should work are not for 64 bit and I'd be very glad if someone 
could point out where this is going wrong please.  We have tried SYSNATIVE and 
this is also failing

Dim Env
Set Env = CreateObject("Microsoft.SMS.TSEnvironment")

Env("bExcludeComputer") = "TRUE"
Env("PACKAGES001") = "EU1000:Hello_CaM_1_B01"

TIA

Jason






Reply via email to