Skip to content

Can Collection Variables Be Used During OSD In A Batch File

Featured Replies

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

  • Author

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.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.