![]() ' Get the name the computer is set to receive and truncate to first 6 letters ' which indicates the system was booted with USB keyĭim sNewComputerName, oTaskSequence, sTSMachineName, bPromptName ' 1.1 ()- Added check if the computer name equals "minwinpc", ' "minint", which indicates the system was booted with CD or PXE. ' 1.0 ()- Intial script to check if the computer name begins with ' the end-user to enter a new computer name. ' begins with MININT, indicating that this image is bare metal image. ' COMMENT: This script will detect if the current assigned value for the computer name It will prompt the end-operator to input a name and then it will set the TS variable “OSDComputerName”.Īdd the script to the TS by adding a Run Command Line task after Partition Disk and before Apply Operating System. To define a specific name the system is to receive, use the following VBScript. When doing a baremetal image in SCCM OSD, the task sequences will generate a random name for the system. Script to Prompt for System Name in SCCM OSD ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |