<?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 Retrieve a List of the System DSNs on a Computer?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/25/how-can-i-retrieve-a-list-of-the-system-dsns-on-a-computer.aspx</link><description>Hey, Scripting Guy! How can I retrieve a list of the System DSNs on a computer? -- RT 
 Hey, RT. You know, there’s an old Hollywood superstition that suggests that famous movie stars always die in threes: if a famous star dies today, then according to</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 Retrieve a List of the System DSNs on a Computer?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/25/how-can-i-retrieve-a-list-of-the-system-dsns-on-a-computer.aspx#3524170</link><pubDate>Thu, 04 Oct 2012 13:57:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3524170</guid><dc:creator>hernandezjj</dc:creator><description>&lt;p&gt;Good morning all!&lt;/p&gt;
&lt;p&gt;How can I run the script agains a list of computers and store the results in a text file or Excel file, listing the DSN and the computer names? How about if I want to include the last user who logged into the computer? &lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3524170" width="1" height="1"&gt;</description></item><item><title>re: How Can I Retrieve a List of the System DSNs on a Computer?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/25/how-can-i-retrieve-a-list-of-the-system-dsns-on-a-computer.aspx#3506123</link><pubDate>Wed, 27 Jun 2012 02:12:32 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3506123</guid><dc:creator>Pak-Ming Cheung (WDAC Team, Microsoft)</dc:creator><description>&lt;p&gt;To retrieve the list of ODBC System DSN, you can use the command:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get-OdbcDsn -DsnType System&lt;/p&gt;
&lt;p&gt;To retrieve the list of ODBC User DSN, you can use the command:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Get-OdbcDsn -DsnType User&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
&lt;p&gt;WDAC Team, Microsoft.&lt;/p&gt;
&lt;p&gt;(This post include information about a pre-release windows and is subject to change in future releases.)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3506123" width="1" height="1"&gt;</description></item><item><title>re: How Can I Retrieve a List of the System DSNs on a Computer?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/25/how-can-i-retrieve-a-list-of-the-system-dsns-on-a-computer.aspx#3506122</link><pubDate>Wed, 27 Jun 2012 02:10:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3506122</guid><dc:creator>Pak-Ming Cheung (WDAC Team, Microsoft)</dc:creator><description>&lt;p&gt;Of course, you can retrieve the list of DSN via some registry functions. However, there is a much simpler method available in Windows 8 (Release Preview version) and Windows Server 2012 (Release Candidate version).&lt;/p&gt;
&lt;p&gt;You can use the Get-OdbcDsn to retrieve the list of all ODBC DSN installed in the system.&lt;/p&gt;
&lt;p&gt;See the blog article for more detail: blogs.msdn.com/.../odbc-dsn-management-in-the-next-release-of-windows-code-named-windows-8-and-windows-server-8.aspx&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ming.&lt;/p&gt;
&lt;p&gt;WDAC Team, Microsoft.&lt;/p&gt;
&lt;p&gt;(This post include information about a pre-release windows and is subject to change in future releases.)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3506122" width="1" height="1"&gt;</description></item><item><title>re: How Can I Retrieve a List of the System DSNs on a Computer?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2005/07/25/how-can-i-retrieve-a-list-of-the-system-dsns-on-a-computer.aspx#3498516</link><pubDate>Thu, 17 May 2012 17:19:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3498516</guid><dc:creator>BobM</dc:creator><description>&lt;p&gt;Great script, thank you&lt;/p&gt;
&lt;p&gt;Can you tell me how i could run this script against a list of computers?&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3498516" width="1" height="1"&gt;</description></item></channel></rss>