<?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>Hey, Scripting Guy! How Can I Map a Drive Based on the Computer’s Subnet?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/04/how-can-i-map-a-drive-based-on-the-computer-s-subnet.aspx</link><description>Hey, Scripting Guy! I have a CAD staff that occasionally travels between sites. What I would like to do, in a logon script, is map a set of drives based on their current location, that is, their current subnet. I need the script to first check and see</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hey, Scripting Guy! How Can I Map a Drive Based on the Computer’s Subnet?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2008/03/04/how-can-i-map-a-drive-based-on-the-computer-s-subnet.aspx#3355347</link><pubDate>Tue, 14 Sep 2010 12:03:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3355347</guid><dc:creator>James</dc:creator><description>&lt;p&gt;First off, thanks for the script! I seem to be having an issue though with laptops that have a wireless adapter. Even when they aren&amp;#39;t connected (Media State......: Media Disconnected) the script fails to map drives. I&amp;#39;ve tested this nine ways to Sunday and the only thing that makes it work is actually disabling the wireless adapter so that it doesn&amp;#39;t show in ipconfig at all. Other than that the script works flawlessly so far. On a side note, these Lenovo laptops list the wireless adapter first and I can&amp;#39;t seem to change that. I change the binding order in the advanced settings but it doesn&amp;#39;t change the order in ipconfig like it does on other systems. If I disable it then re-enable it then it will be listed second until a reboot but even when listed second the script fails. Any ideas?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3355347" width="1" height="1"&gt;</description></item></channel></rss>