Jump to content

SCCM OSD


Recommended Posts

Hi all,

I have a vbscript that I execute in my task sequence to set some variables during OSD. One of these variables needs to be used in customsettings.ini to connect to a server to retrieve a list of applications to install during my OSD Task sequence.

The vbscript uses oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment") to set the variables. I can see that the variable I need is set correctly when I output all the variables during OSD.

My customsettings.ini looks like this:

[settings]

Priority=Default, getprograms

Properties=MyCustomProperty

[Default]

OSInstall=Y

[getprograms]

Program = http://%Servernamevariable%/Getprograms.asmx

How do I get this working? The %Servernamevariable% is of course the variable I set (explained above). It is for example testserver.mydomain.int. Do I have to use the propertiesline or? Maybe I can only use %variable% type with built in variable names and not my own?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...