Prompt for computer information during Deployment job?
Created: 21 Oct 2013 | 9 comments
I'm hoping I am making this way too difficult and that there is an easy solution:
Using Deployment 7.1, I am making an image job that will image a computer then perform our standard configuration tasks & software installations, and I would like to use it for initial deployment as well as reimages. The difficulty I have is in gathering the unique client information, particularly when using initial deployment of a new system.
If reimaging via the console, I am using my own variables such as %!ComputerName!% and %!AssetTag!% on scripts and they are set to "Prompt me for task input each time the job is run." The prompts are then displayed when the job is scheduled and all is good.
My real difficulty is during Initial Deployment. I have tried having scripts launch on the client to prompt for this data, but when I view the script output, I am getting more information than I need, so I cannot use the output data later.
SET /P computername= Please Enter Desired Computer Name:
Script: Please Enter Desired Computer Name: <COMPUTERNAME>
ComputerName = UCASE(InputBox("Please Enter Desired Computer Name:"))
Script: Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
So my question is two-fold:
1. Does anybody have a similar process that may be a lot more simple than I am thinking?
2. Any ideas on how to prompt for input during initial deployment then use this output data as a variable in a later task?
Thanks for your help,