Quantcast
Channel: Configuration Manager 2012 - Operating System Deployment forum
Viewing all articles
Browse latest Browse all 9126

Prompt computer name during OSD

$
0
0

I have a task sequence and I want it to prompt for computer name. I have a vbscript for this.

I created a package that holds a vbscript named PromptComputerName.vbs

Script looks like this:

strComputerName = InputBox("Enter computername") 

Set env = CreateObject("Microsoft.SMS.TSEnvironment") 

env("OSDComputerName") = strComputerName

Task sequence:

And the result

What is wrong with this one?



Viewing all articles
Browse latest Browse all 9126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>