Jump to content


Search the Community

Showing results for tags 'variable'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Cloud
    • Azure
    • Microsoft Intune
    • Office 365
  • General Stuff
    • General Chat
    • Events
    • Site News
    • Windows News
    • Suggestion box
    • Jobs
  • MDT, SMS, SCCM, Current Branch &Technical Preview
    • How do I ?
    • Microsoft Deployment Toolkit (MDT)
    • Official Forum Supporters
    • SMS 2003
    • Configuration Manager 2007
    • Configuration Manager 2012
    • System Center Configuration Manager (Current Branch)
    • Packaging
    • scripting
    • Endpoint Protection
  • Windows Client
    • how do I ?
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows Vista
    • Windows XP
    • windows screenshots
  • Windows Server
    • Active Directory
    • Microsoft SQL Server
    • System Center Operations Manager
    • KMS
    • Windows Deployment Services
    • NAP
    • Failover Clustering
    • PKI
    • Windows Server 2008
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Hyper V
    • Exchange
    • IIS/apache/web server
    • System Center Data Protection Manager
    • System Center Service Manager
    • System Center App Controller
    • System Center Virtual Machine Manager
    • System Center Orchestrator
    • Lync
    • Application Virtualization
    • Sharepoint
    • WSUS

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 9 results

  1. OSD Run Command Line: WMI to TS Variable (Tested with WinPE 1703 and Windows 10 1703 / SCCM 2012 Version 1706 / MDT ) A short guide how to store WMI information into a Task Sequence Variable without the need of a script. (And therefore without a "Update Distribution Point") Create a new "Run Command Line" Step Set the step name for example: "Set Task Sequence Variable OSD_VariableName" Command Line: powershell -Command "& {(New-Object -COMObject Microsoft.SMS.TSEnvironment).Value('OSD_VariableName') = (Get-WmiObject Win32_ComputerSystemProduct).Version}"
  2. Hi All, Would like to know if there's a way to create a new Status Filter variable (Eg. %msgsys, %msgsrc and etc.) . At the start of the TS, the user who kicked-off the TS requires to authenticate before proceeding. Would like to capture the user's details (email, givenname and sn), store these into a variable (Eg. %email, %givenname & %surname) then pass it to the SCCM Status Filter Rules. Regards, ej
  3. I am working with an HTA frontend to collect information from the user and pass this information to the task sequence for the OS build. I started with advertising the task sequence within Windows to the computer. The user launch the advertisement, it gathers some information and the HTA opens for some user input. This all works fine, the issue is when I try to collect my variables with the object ("Microsoft.SMS.TSEnvironment") I get an error. I understand that I can not use this object just within Windows but, it is being launch by the task sequence in the task sequence. Am I missin
  4. ====================================================================================================================================================================================== >> Available via download here on the TechNet Galleries! << ====================================================================================================================================================================================== I do have to admit that this tool is already available in it's final form for over a month, but it seemed appropriate to also post here about this final rel
  5. Hi All, I was wondering if you could help me in renaming PC's during deployment. I am just getting started with SCCM and OSD deployments. I have a basic working deployment that deploys drivers per model using a wmi query to find the model number. My (dell) desktops / laptops will install and join the domain to a specified OU. My problem is when i add the OSDcomputername task sequence variable %serialnumber% i get the following error just before it finishes the task sequence. "Windows could not parse or process the unattend answer file for pass [specialize]. The settings specifie
  6. I would like to set custom Variables, at bottom line, I would like to use that in a later step to assign dynamically ip address in the server staging process. So my goal would be, set a computer variable MYVAR = TESTVAR and have that at the end a txt file with the contend TESTVAR. But it looks like I am missing something, any help would be nice. In the computer object I defined in that case MYVAR = TESTVAR: In the TS I call the Variable %MYVAR% and pipe it in a file. checking the smsts.log I can see that the command is executing but not like I mentioned. What
  7. 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 compu
  8. I'm using MDT Task Sequences with SCCM and am trying to get a proper Computer Description set. It was easy to do with OSDComputerName and check if a computer was already named properly in AD for whether or not a popup would ask for a new name. Now I've tried using the same method for setting the computer description. I've made sure that my Discovery settings includes the Description property, so I can see the AD Description in my Devices properties. The problem is how to set a task sequence variable to use the variable assigned to my device. I thought setting a variable: OSDComputerD
  9. Hi, We would like to be prompted at the beginning of a Task Sequence to create a local account and has administrator access. I've tried using the following script. set env = CreateObject("Microsoft.SMS.TSEnvironment") EngName = inputbox("Engineer ID" ,"Please enter your Network ID below:",env("_SMSTSengname"),400,0) env("EngName") = EngName I think I might need to define the task sequence variable? If I'm not giving enough information, just let me know.
×
×
  • Create New...