<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx</link><description>This seems to be a frequent question that comes up: “I am working with PCs from &amp;lt;vendor&amp;gt; that have model strings that frequently change, although the first part is always consistent.&amp;#160; How can I use these models with the MDT database without</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3275385</link><pubDate>Thu, 20 Aug 2009 22:57:12 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3275385</guid><dc:creator>Michael Niehaus</dc:creator><description>&lt;p&gt;I agree that web services are a great way to do more complex manipulations, running the code on the back end instead of on the client and then just returning a set of variable values for the client to use.&lt;/p&gt;
&lt;p&gt;You just need to be a developer (or a developer at heart) to create and implement these.&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3275385" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3275368</link><pubDate>Thu, 20 Aug 2009 21:57:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3275368</guid><dc:creator>Eggg84</dc:creator><description>&lt;p&gt;@blynch6038&lt;/p&gt;
&lt;p&gt;you can download &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://mdtwizardeditor.codeplex.com/"&gt;http://mdtwizardeditor.codeplex.com/&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;which michael wrote, for just this purpose :)&lt;/p&gt;
&lt;p&gt;-Dustin&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3275368" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3275366</link><pubDate>Thu, 20 Aug 2009 21:49:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3275366</guid><dc:creator>Eggg84</dc:creator><description>&lt;p&gt;It is also very useful to do this same type of lookup using webservices. This way you can pass the model name (such as HP's with the random digits at the end) to the webservice, and then using .NET code parse the model name before returning a result back to your build.&lt;/p&gt;
&lt;p&gt;This gives you the added benefit of it being central also - if all your build servers hit this webservice, you won't need to update customsettings on each one of your Deployment Pointss every time you add a new model, simply make sure your webservice returns the proper value, and you're all set.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3275366" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3270541</link><pubDate>Tue, 04 Aug 2009 15:26:29 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3270541</guid><dc:creator>blynch6038</dc:creator><description>&lt;p&gt;Is it possible during the inital config screen to add a window that will have drop down boxes to select item's that will be written as variables for the deployment? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Basically what I am looking to do is to use the wizardeditor to add a new pane that will have a series of drop down boxes to select things like Grade and Floor that the pc is on so that I can use that to determine what OU to put the client workstation in? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would also like to make two drop down's for computer name so they can select room number and pc location and those two varibles will be merged to equal the computer name.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3270541" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3267561</link><pubDate>Thu, 23 Jul 2009 20:16:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267561</guid><dc:creator>Michael Niehaus</dc:creator><description>&lt;p&gt;Because we're using a SQL query from the client side, we can't do wildcard matching without reading all of the rows and comparing them. &amp;nbsp;(It's backwards from the normal SQL &amp;quot;LIKE&amp;quot; processing.) That's doable, but potentially not very efficient - it would be better done on the server side through a stored procedure.&lt;/p&gt;
&lt;p&gt;It's something that was considered for MDT 2010, but we didn't have time to get it done.&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3267561" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3267540</link><pubDate>Thu, 23 Jul 2009 19:08:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267540</guid><dc:creator>Michael Niehaus</dc:creator><description>&lt;p&gt;Yes, you could build a folder structure something like &amp;quot;Out-of-box Drivers\Lenovo\6483&amp;quot; and then specify in CustomSettings.ini &amp;quot;DriverGroup001=%Make%\%Model%&amp;quot;. &amp;nbsp;More on that in a future post...&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3267540" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3267499</link><pubDate>Thu, 23 Jul 2009 17:07:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267499</guid><dc:creator>Cirem</dc:creator><description>&lt;p&gt;Michael,&lt;/p&gt;
&lt;p&gt;Is there any way to do something similar in MDT 2010. In your script you adjust %model% to the new determined %CustomModel% based on your script. &amp;nbsp;Now that we have folders in MDT 2010 What I would like to do is use the newly determined %model% in the TS for injecting the drivers from a specific driver folder in MDT. &amp;nbsp;Somehow use the injectdrivers task to use the %model% folder for injecting the drivers&lt;/p&gt;
&lt;p&gt;maybe its a bad idea ;-)&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Dave&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3267499" width="1" height="1"&gt;</description></item><item><title>re: Querying the MDT database using a custom model</title><link>http://blogs.technet.com/b/mniehaus/archive/2009/07/17/querying-the-mdt-database-using-a-custom-model.aspx#3267053</link><pubDate>Wed, 22 Jul 2009 13:15:43 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3267053</guid><dc:creator>JohnQuirk</dc:creator><description>&lt;p&gt;Hi Michael,&lt;/p&gt;
&lt;p&gt;This works well for us with some HP models, but it'd be really good if we could just use the database and put in &amp;quot;HPDC7600%&amp;quot; as the model name and have the scripts accept the wildcard. I'm sure there's a very good reason why we can't...&lt;/p&gt;
&lt;p&gt;JQ&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3267053" width="1" height="1"&gt;</description></item></channel></rss>