Jump to content


karas321

Established Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by karas321

  1. Hello All, We are performing LTI with the UDI module. When administrator enters the intended name of the computer we need to get this name (presumably OSDComputerName task sequence variable) and add some text to it. We already got the concatenating portion of the script, but need help with the first part and the third parts. So, basically we need to perform the following sub-tasks: Get the task sequence variable with the intended computer name which was entered by the administrator. Verify/modify it (this portion we already implemented) Set the task sequence variable using the modified computer name. Would you be so kind to advise on the following questions: Should we use the OSDComputerName task sequence variable or any other else? What the code in the PowerShell should be in order to get the input from the administrator and set the new computer name? What is the proper location of this task should be in the task sequence? We prefer to get it before the OS is installed, but would highly appreciate if you provide is with the location. Also, we received the following error: PS C:\Windows\system32> $tsenv = New-Object -COMObject Microsoft.SMS.TSEnvironment New-Object : Cannot load COM type Microsoft.SMS.TSEnvironment. At line:1 char:20 + $tsenv = New-Object <<<< -COMObject Microsoft.SMS.TSEnvironment + CategoryInfo : InvalidType: ( [New-Object], PSArgumentException + FullyQualifiedErrorId : CannotLoadComObjectType,Microsoft.PowerShell.Commands.NewObjectCommand Thank you very much for your time and help!
×
×
  • 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.