keilamym Posted March 31, 2017 Report post Posted March 31, 2017 how about _SMSTSModel. Quote Share this post Link to post Share on other sites More sharing options...
keilamym Posted March 31, 2017 Report post Posted March 31, 2017 https://technet.microsoft.com/en-us/library/hh846237.aspx#BKMK_SetDynamicVariables Quote Share this post Link to post Share on other sites More sharing options...
smaunsell Posted April 3, 2017 Report post Posted April 3, 2017 On 1/04/2017 at 4:25 AM, keilamym said: how about _SMSTSModel. I notice that task sequence variables have conditions 'exists, not exists, equals, not equals etc' whereas WMI queries can have eg 'like' and use '%'. It's not clear, that I can find, if task sequence variables can use '%' eg '%surface%' to cover all Surface models. I ran wmic csproduct get name from within Win10 and got Surface 3 so I added a task sequence variable of _SMSTSModel equals "Surface 3" and it failed. I also tried _SMSTSModel equals "%Surface%" and it failed. Also checked the BIOS and got the serial number and added a task sequence variable of _SMSTSSerialNumber equals "12345678" and it didn't like that either. Quote Share this post Link to post Share on other sites More sharing options...
smaunsell Posted April 3, 2017 Report post Posted April 3, 2017 SUCCESS..... New task: Set Dynamic Variable IF Make equals "Microsoft Corporation" AND Model equals "Surface 3" THEN SET MyModel = "Surface 3" Update existing task: Format and Partition Disk (Surface) 100% of reamining space on disk. NTFS file system. Options: Task Sequence Variable MyModel equals "Surface 3" Update existing task: Format and Partition Disk (Standard) 100GB fixed size. NTFS file system. Options: Task Sequence Variable MyModel notequals "Surface 3" According to https://github.com/Microsoft/SCCMdocs/blob/master/sccm/osd/understand/task-sequence-steps.md Quote Starting in Configuration Manager version 1610, you can specify an asterisk (*) and question mark (?) as wild cards, where ***** matches multiple characters and ? matches a single character. For example, the string "DELL*900?" will match DELL-ABC-9001 and DELL9009. but we're not on that version yet. It looks like I'm at a point where I can image a Surface using simply a Microsoft USB Ethernet Adapter Quote Share this post Link to post Share on other sites More sharing options...
keilamym Posted April 4, 2017 Report post Posted April 4, 2017 glad you got it working Quote Share this post Link to post Share on other sites More sharing options...