<?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>How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx</link><description>Hey, Scripting Guy! How can I determine which drives on a computer are mapped to network shares? -- CP 
 Hey, CP. OK, you better sit down, because what we’re about to say will shock you: if you want to determine which drives on a computer are mapped</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3569892</link><pubDate>Tue, 30 Apr 2013 10:01:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3569892</guid><dc:creator>shaun</dc:creator><description>&lt;p&gt;is there a way to us &amp;quot;IF THEN ELSE&amp;quot; logic to check if a drive exists from the result of the &amp;quot;SELECT&amp;quot; query then skip that drive and remove the rest of the drives?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3569892" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3534400</link><pubDate>Fri, 23 Nov 2012 23:43:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3534400</guid><dc:creator>Greg</dc:creator><description>&lt;p&gt;that should have read:&lt;/p&gt;
&lt;p&gt;Get-WMIObject -query &amp;quot;Select DeviceID,ProviderName From Win32_MappedLogicalDisk&amp;quot;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3534400" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3428917</link><pubDate>Fri, 13 May 2011 03:12:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3428917</guid><dc:creator>Andrew</dc:creator><description>&lt;p&gt;What if you want to know about the Currently logged on User of a remote computer? &amp;nbsp;How do I enumerate THEIR mapped network drive?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3428917" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3381441</link><pubDate>Thu, 20 Jan 2011 11:34:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3381441</guid><dc:creator>Lee</dc:creator><description>&lt;p&gt;Is there anyway of being able to import that info into a new machine i.e. using the script to export the mapped drives and then import them onto a new machine?&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3381441" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3373230</link><pubDate>Mon, 06 Dec 2010 03:39:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3373230</guid><dc:creator>Lawrence</dc:creator><description>&lt;p&gt;Thanks, that sounds like what I&amp;#39;m running up against.&lt;/p&gt;
&lt;p&gt;Looks like I&amp;#39;ll have to find a way around that.&lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3373230" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3373038</link><pubDate>Fri, 03 Dec 2010 23:06:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3373038</guid><dc:creator>ScriptingGuy1</dc:creator><description>&lt;p&gt;@Lawrence If the drives are mapped via the session of the interactive user and WMI is not using that session then the drives will not be visible to WMI. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3373038" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3372807</link><pubDate>Fri, 03 Dec 2010 03:38:05 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3372807</guid><dc:creator>Lawrence</dc:creator><description>&lt;p&gt;I&amp;#39;m assuming it&amp;#39;s not a permissions issue as I can get the free space from C: drive on that same remote machine.&lt;/p&gt;
&lt;p&gt;Though these machines are a part of an AD domain, and I&amp;#39;ve seen mention of sessions for the mapped drives which I&amp;#39;ve been trying to puzzle out, but haven&amp;#39;t gotten anywhere yet unfortunately.&lt;/p&gt;
&lt;p&gt;Could the sessions thing be what&amp;#39;s stopping my script from working ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3372807" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3372749</link><pubDate>Thu, 02 Dec 2010 20:09:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3372749</guid><dc:creator>ScriptingGuy1</dc:creator><description>&lt;p&gt;When using WMI to connect to a remote machine to run a query, there are several things that can possibly go wrong. The first is permission, in general the account you use to connect to the remote machine must be a member of the local admin group. The connectServer method allows you to specify alternate credentials for a remote connection see the MSDN docs &lt;a rel="nofollow" target="_new" href="http://bit.ly/eNgNlE"&gt;http://bit.ly/eNgNlE&lt;/a&gt; &amp;nbsp;In addition, there can be profile issues, firewall issues, and other potential problems. Take a look at the articles in my WMI library to see if the information there will help &lt;a rel="nofollow" target="_new" href="http://bit.ly/hpaSwy"&gt;http://bit.ly/hpaSwy&lt;/a&gt; &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3372749" width="1" height="1"&gt;</description></item><item><title>re: How Can I Determine Which Drives are Mapped to Network Shares?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/10/27/how-can-i-determine-which-drives-are-mapped-to-network-shares.aspx#3372577</link><pubDate>Thu, 02 Dec 2010 10:18:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3372577</guid><dc:creator>Lawrence</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to do this in Javascript and it works when connecting to the Local machine, but not remotely.&lt;/p&gt;
&lt;p&gt;Stuck on this and I have no idea what&amp;#39;s going wrong !&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3372577" width="1" height="1"&gt;</description></item></channel></rss>