<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Behind the scenes of PowerShell and SQL	</title>
	<atom:link href="https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/feed/" rel="self" type="application/rss+xml" />
	<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/</link>
	<description></description>
	<lastBuildDate>Mon, 12 Jun 2017 12:46:47 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: Vini		</title>
		<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/#comment-2216</link>

		<dc:creator><![CDATA[Vini]]></dc:creator>
		<pubDate>Mon, 12 Jun 2017 12:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3194#comment-2216</guid>

					<description><![CDATA[Hi Rob,
I am looking for PowerShell script to script out the objects from PDW. Could you please help me with this.
Thanks,
Vini]]></description>
			<content:encoded><![CDATA[<p>Hi Rob,<br />
I am looking for PowerShell script to script out the objects from PDW. Could you please help me with this.<br />
Thanks,<br />
Vini</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/#comment-2215</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 00:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3194#comment-2215</guid>

					<description><![CDATA[Sireesh - I&#039;ll have to work that out. PowerShell can&#039;t hook into PDW in the same way.]]></description>
			<content:encoded><![CDATA[<p>Sireesh &#8211; I&#8217;ll have to work that out. PowerShell can&#8217;t hook into PDW in the same way.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Sireesh		</title>
		<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/#comment-2214</link>

		<dc:creator><![CDATA[Sireesh]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 00:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3194#comment-2214</guid>

					<description><![CDATA[How can we script out a pdw/APS table in powershell?]]></description>
			<content:encoded><![CDATA[<p>How can we script out a pdw/APS table in powershell?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tobi		</title>
		<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/#comment-2213</link>

		<dc:creator><![CDATA[tobi]]></dc:creator>
		<pubDate>Tue, 19 Mar 2013 21:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3194#comment-2213</guid>

					<description><![CDATA[SMO uses deprected stuff all the time as it seem. For example Table.RebuildAllIndexes used DBCC REINDEX]]></description>
			<content:encoded><![CDATA[<p>SMO uses deprected stuff all the time as it seem. For example Table.RebuildAllIndexes used DBCC REINDEX</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Rob Farley		</title>
		<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/#comment-2212</link>

		<dc:creator><![CDATA[Rob Farley]]></dc:creator>
		<pubDate>Tue, 12 Feb 2013 13:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3194#comment-2212</guid>

					<description><![CDATA[I&#039;m not meaning to criticise PowerShell or SMO - I find them very useful tools. I find PowerShell extremely handy for getting a wide variety of things done - particularly when T-SQL is just plain clunky (although I think PowerShell can be clunky too, such as in that code for creating Defaults). This post is primarily addressing those people who wonder if PowerShell has access to some secret ability behind the scenes, but I hope doesn&#039;t come across as being negative.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not meaning to criticise PowerShell or SMO &#8211; I find them very useful tools. I find PowerShell extremely handy for getting a wide variety of things done &#8211; particularly when T-SQL is just plain clunky (although I think PowerShell can be clunky too, such as in that code for creating Defaults). This post is primarily addressing those people who wonder if PowerShell has access to some secret ability behind the scenes, but I hope doesn&#8217;t come across as being negative.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Phil Factor		</title>
		<link>https://lobsterpot.com.au/blog/2013/02/12/behind-the-scenes-of-powershell-and-sql/#comment-2211</link>

		<dc:creator><![CDATA[Phil Factor]]></dc:creator>
		<pubDate>Tue, 12 Feb 2013 13:17:42 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.lobsterpot.com.au/?p=3194#comment-2211</guid>

					<description><![CDATA[This is all interesting, but, at the risk of being a bit pedantic, I ought to say that your criticisms of PowerShell should really be aimed at SMO. You&#039;d hit the same problem whatever language you use to drive the SMO .NET library. SMO is doing an object/relational mapping for the SQL Server metadata which is never going to be fast. If you really want performance, you can get the best of both worlds by using SMO for the things it is good for, and use SMO&#039;s connection (usually the ExecuteWithResults method but you can do a lot more) to use TSQL to get the more complex information you need. This hybrid approach is dead fast, and as efficient as your TSQL.
Examples? Of course! Here &lt;a href=&quot;http://www.simple-talk.com/sql/database-administration/powershell-smo-just-writing-things-once/&quot; rel=&quot;nofollow ugc&quot;&gt;http://www.simple-talk.com/sql/database-administration/powershell-smo-just-writing-things-once/&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>This is all interesting, but, at the risk of being a bit pedantic, I ought to say that your criticisms of PowerShell should really be aimed at SMO. You&#8217;d hit the same problem whatever language you use to drive the SMO .NET library. SMO is doing an object/relational mapping for the SQL Server metadata which is never going to be fast. If you really want performance, you can get the best of both worlds by using SMO for the things it is good for, and use SMO&#8217;s connection (usually the ExecuteWithResults method but you can do a lot more) to use TSQL to get the more complex information you need. This hybrid approach is dead fast, and as efficient as your TSQL.<br />
Examples? Of course! Here <a href="http://www.simple-talk.com/sql/database-administration/powershell-smo-just-writing-things-once/" rel="nofollow ugc">http://www.simple-talk.com/sql/database-administration/powershell-smo-just-writing-things-once/</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
