Jump to content


Sign in to follow this  
pvr02

Can Collection Variables Be Used During OSD In A Batch File

Recommended Posts

We are currently setting up a SCCM 2007 server (no MDT at this time). I have the Collection Variable "OSDComputerName" set so it prompts us for the computer name.

 

Besides that, I have have a Batch file that I would like to run during the OSD Take Sequence but it requires some user input for a field "Username".

 

It is possible for me to create a Variable called "OSDUserName" and have that information passed along to the batch file?

 

Thanks in advance

Share this post


Link to post
Share on other sites


I haven't tested this yet in SCCM but creating a test bat file using the variable %1 you mentioned and calling it in windows seems like it will work.

 

Greatly appreciate the help.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...