<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx</link><description>Hi, Attached is the code we used today in the Web cast for the SQL demo provider. Please note this is not a SQL management provider. It simply allows you to query data from a SQL server directly from the cmd line. Install the Snapin: PS&amp;gt;$env:Windir\Microsoft.NET\Framework\v2.0\.50727\InstallUtil.exe</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>PowerShellからデータベースの中身を見る</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3437935</link><pubDate>Thu, 21 Jun 2007 07:31:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3437935</guid><dc:creator>どっとねっとふぁんBlog</dc:creator><description>&lt;p&gt;Demo SQL Provider Code PowerShellを利用して、SQL Serverのデータベースの中身をまるでフォルダやファイルをたどるようにして見ることのできるサンプルプロバイダのコードが提供されています。こんなことできるんですねぇ。。。...&lt;/p&gt;
</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3439746</link><pubDate>Thu, 21 Jun 2007 10:07:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3439746</guid><dc:creator>quax</dc:creator><description>&lt;p&gt;Hello folks!&lt;/p&gt;
&lt;p&gt;I just downloaded the provider and installed it. No errors.&lt;/p&gt;
&lt;p&gt;Then I tried to add-pssnapin and powershell came back telling me, there are no snap ins in version 1.0.&lt;/p&gt;
&lt;p&gt;What's going wrong?&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;quax&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3440116</link><pubDate>Thu, 21 Jun 2007 10:41:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3440116</guid><dc:creator>JensG</dc:creator><description>&lt;p&gt;Great, but ...&lt;/p&gt;
&lt;p&gt;1) Guess, there's a surplus backslash in your cmd line? IMHO it should read: ...\v2.0.50727\...&lt;/p&gt;
&lt;p&gt;2) How do I connect using SQL Authentication? &lt;/p&gt;
&lt;p&gt;JensG&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3441861</link><pubDate>Thu, 21 Jun 2007 13:54:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3441861</guid><dc:creator>John</dc:creator><description>&lt;p&gt;There is a bug in the first line of script:&lt;/p&gt;
&lt;p&gt;It should be:&lt;/p&gt;
&lt;p&gt;PS&amp;gt;. $env:Windir\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe SQLProvider.dll&lt;/p&gt;
&lt;p&gt;Note the &amp;quot;.&amp;quot; before the path and the removal of the directory in the Framework version directory.&lt;/p&gt;
&lt;p&gt;Cool entry though.&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3442291</link><pubDate>Thu, 21 Jun 2007 14:37:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3442291</guid><dc:creator>Marco Shaw</dc:creator><description>&lt;p&gt;What webcast was this? &amp;nbsp;I try to join them all...&lt;/p&gt;</description></item><item><title>Windows PowerShell用Demo SQL Provider公開(Web castでのDemo用)</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3442419</link><pubDate>Thu, 21 Jun 2007 14:52:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3442419</guid><dc:creator>米田 Blog ( SQL Server MEMO )</dc:creator><description>&lt;p&gt;Windows PowerShell用Demo SQL Provider公開(Web castでのDemo用)&lt;/p&gt;
</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3444956</link><pubDate>Thu, 21 Jun 2007 18:43:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3444956</guid><dc:creator>BSonPosh</dc:creator><description>&lt;p&gt;quax, if you are using x64 you have to use the correct framework. &lt;/p&gt;
&lt;p&gt;Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3444974</link><pubDate>Thu, 21 Jun 2007 18:44:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3444974</guid><dc:creator>Aleksandar</dc:creator><description>&lt;p&gt;Marco,&lt;/p&gt;
&lt;p&gt;Event Name: TechNet Webcast: Windows PowerShell in Windows Server 2008 (Level 200)&lt;/p&gt;
&lt;p&gt;Start Date: 6/20/2007&lt;/p&gt;
&lt;p&gt;Start Time: 1:00 PM (GMT-08:00) Pacific Time (US &amp;amp; Canada)&lt;/p&gt;
&lt;p&gt;Please click on the following link for more information regarding this Event &lt;a rel="nofollow" target="_new" href="https://msevents.microsoft.com/cui/r.aspx?r=1291248013&amp;amp;c=en-US&amp;amp;t=4"&gt;https://msevents.microsoft.com/cui/r.aspx?r=1291248013&amp;amp;c=en-US&amp;amp;t=4&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3450783</link><pubDate>Fri, 22 Jun 2007 04:07:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3450783</guid><dc:creator>Marco Shaw</dc:creator><description>&lt;p&gt;I have SQL Express. &amp;nbsp;SQL server management studio express says my server name is &amp;quot;NB517949\SQLEXPRESS&amp;quot;. &amp;nbsp;I can't seem to figure out the proper combination to cd into... &amp;nbsp;Any ideas? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;(I'm able to use that server name using invoke-sql from PowerGadgets to run stuff against the DB.)&lt;/p&gt;</description></item><item><title>[powershell][sql]PowerShellのSQL用プロバイダ</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3452393</link><pubDate>Fri, 22 Jun 2007 06:56:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3452393</guid><dc:creator>学び、そして考える</dc:creator><description>&lt;p&gt;Sorry,this entry is written only Japanese. &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx"&gt;http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx&lt;/a&gt; インストール。このページには「￥v2.0￥.50727￥」て書いてあるけど「￥v2.0.50727￥」の間違いだよね。 エラった。。$env:Windor がよくないの&lt;/p&gt;
</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3463451</link><pubDate>Fri, 22 Jun 2007 18:22:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3463451</guid><dc:creator>chrisleonard</dc:creator><description>&lt;p&gt;Can the prototype provider be made to connect to a named instance?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chris Leonard&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3464084</link><pubDate>Fri, 22 Jun 2007 18:48:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3464084</guid><dc:creator>Mike Schinkel</dc:creator><description>&lt;p&gt;Haven't tried it yet, but having a SQL provider ROCKS! &amp;nbsp;I SO need this.&lt;/p&gt;</description></item><item><title>SQL Server Powershell Provider</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3483336</link><pubDate>Sat, 23 Jun 2007 18:53:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3483336</guid><dc:creator>Impedance Mismatch</dc:creator><description>&lt;p&gt;Dopo la SQL Conference ho iniziato a scrivere un provider SQL Server per PowerShell. Per chi non sapesse&lt;/p&gt;
</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3503898</link><pubDate>Sun, 24 Jun 2007 23:09:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3503898</guid><dc:creator>Wassim [MSFT]</dc:creator><description>&lt;p&gt;The SQL provider demo code is very fragile specifically when it comes to parsing the path. the code does not support a named instance as NB517949\SQLEXPRESS. The code takes &amp;quot;NB517949&amp;quot; as Server name and SQLEXPRESS as the data base name. &lt;/p&gt;
&lt;p&gt;The authentication is done on the SQL server. I did not add any credential parameter.&lt;/p&gt;
&lt;p&gt;The installation syntax is wrong in the blog it should read $env:Windir\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe SQLProvider.dll &lt;/p&gt;
&lt;p&gt;Also on 64 bit machines you need to invoke the correct version of InstallUtil.exe&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3547437</link><pubDate>Tue, 26 Jun 2007 18:28:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3547437</guid><dc:creator>Kumar</dc:creator><description>&lt;p&gt;Just curious ... is it possible to access &amp;nbsp;Views this way? &amp;nbsp;Because I use views more than tables.&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#3569831</link><pubDate>Wed, 27 Jun 2007 23:35:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3569831</guid><dc:creator>Simon Mourier</dc:creator><description>&lt;p&gt;Hi Wassim,&lt;/p&gt;
&lt;p&gt;Cool code. I was wondering, is there anything similar for browsing an object graph/hierarchy, I mean generically? Say I have a Customer object that has an Orders property. Is there a PowerShell provider that allow me to do, for example:&lt;/p&gt;
&lt;p&gt;cd MyModel:&lt;/p&gt;
&lt;p&gt;cd Customers&lt;/p&gt;
&lt;p&gt;cd &amp;quot;John Doe&amp;quot;&lt;/p&gt;
&lt;p&gt;cd Orders&lt;/p&gt;
&lt;p&gt;dir *.Paid.*&lt;/p&gt;
&lt;p&gt;? I thought this would be generic enough to be available right off the box, but I can't find a way to do it? Should I write my own code for this?&lt;/p&gt;
&lt;p&gt;Thanks anyway :-)&lt;/p&gt;</description></item><item><title>re: Demo SQL Provider Code</title><link>http://blogs.msdn.com/powershell/archive/2007/06/21/demo-sql-provider-code.aspx#4171045</link><pubDate>Wed, 01 Aug 2007 18:54:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4171045</guid><dc:creator>Jason S</dc:creator><description>&lt;p&gt;&amp;quot;The authentication is done on the SQL server. I did not add any credential parameter.&amp;quot;&lt;/p&gt;
&lt;p&gt;how could I add a credential parameter?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jason S&lt;/p&gt;</description></item></channel></rss>