Jump to content


matlock

Established Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by matlock

  1. Whats the difference between using dism to inject drivers into your boot image and using the options within SCCM to add drivers?

     

    If you right click a boot image within sccm (2012 sp1) go to properties, there is a drivers tab with a starburst to add a driver.

     

    Do these effectively do the same thing?

     

    Thanks for any clarity you can provide.

     

    -Matlock

  2. Thank you Peter.

     

    I've stumbled upon the following

     

    ---
    This is a vbs script sets the computername variable to the serial number

    ---
    Set SWBemlocator = CreateObject("WbemScripting.SWbemLocator")
    Set objWMIService = SWBemlocator.ConnectServer(strComputer,"root\CIMV2",UserName,Password)
    Set colItems = objWMIService.ExecQuery("Select * from Win32_BIOS",,48)
    Set env = CreateObject("Microsoft.SMS.TSEnvironment")

    For Each objItem in colItems
    env("OSDComputerName") = objItem.SerialNumber
    Next

     

    The next vbs script I found presents a 'computername dialogue box'
    -

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

    Name = inputbox("Enter the name for the new computer" ,"Prompt for Computer Name:",env("_SMSTSMachineName"),400,0)

    env("OSDComputerName") = Name

    ****This prompting script- prepopulates the 'computername' field with the 'current' computer name.
    ----

    I'm trying to combine the two vbs scripts such that in the vbs script which prompts for the computername (that has the current computername prepopulated) instead prepopulates with the serial number.

    Given my lack of ability and knowledge of how vbs scripting works, I was hoping the community could help.

     

    Thanks for any assistance and guidance.

  3. This is how our organization prompts for the computername.

     

    I'd like to prepopulate the 'value' field to have the servicetag/ serial number.

    (referenced step from above)

    http://www.windows-noob.com/forums/index.php?app=core&module=attach&section=attach&attach_rel_module=post&attach_id=7342

     

    The servicetag/ serialnumber is part of our naming convention and having it prepopulated would be 'helpful'.

     

    Is this possible? If so, how would I go about doing such.

    Thanks in advance.

    -Matlock

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.