


Simply enter the host name you want to use as plain text and click Save. A few questions:ġ) How do I enable Powershell support in my Boot Image? I've selected boot image properties and can only see below options in the Customization tab. You will then be presented with a pop up to enter your User Data. Insert a Run Powershell script step in your task sequence after the $tsenv.Value("OSDComputerName") = "$CompName"Ĭreate a Package with the script in it (No program).Įnable Powershell support in your Boot Images Right now im using OSDComputerName variable which will prompt to enter the computer name manually after I selected the TS to run on an unknown computer. $Serial = Get-WmiObject -Query "Select SerialNumber from Win32_BIOS" Im doing OSD using SCCM 2012 and wondering if I could assigned a dynamic computer name in my TS.

See pset tableattr for details.-U username-usernameusername Connect to the database as the user username instead of the default. This is equivalent to t or pset tuplesonly.-T tableoptions-table-attrtableoptions Specifies options to be placed within the HTML table tag. You could use this small Powershell script: Turn off printing of column names and result row count footers, etc.
