<?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: PowerShell poll results</title>
	<atom:link href="http://www.brentozar.com/archive/2009/04/powershell-poll-results/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brentozar.com/archive/2009/04/powershell-poll-results/</link>
	<description>SQL Server database administration, performance tuning, consulting, training, and community building.</description>
	<lastBuildDate>Wed, 17 Mar 2010 14:14:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ra Osolage</title>
		<link>http://www.brentozar.com/archive/2009/04/powershell-poll-results/comment-page-1/#comment-8423</link>
		<dc:creator>Ra Osolage</dc:creator>
		<pubDate>Fri, 17 Apr 2009 20:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=3321#comment-8423</guid>
		<description>There are definitely advantages to learning PowerShell. I see your point about how Cloud computing could be beneficial. I think for enterprise DBAs, though, PowerShell is probably a better technology to learn first. Cloud computing is probably a long ways away for big enterprises. PowerShell is probably more useful in the short-term for enterprise DBAs. Matter of fact, I think enterprise DBAs should learn PowerShell first. By the time they get the hang of it, maybe all the issues and uses of Cloud computing will have been well documented.

For me, I have a lot of interest in PowerShell, because Microsoft seems to be building it into so many tools now. They&#039;ve made extensions for SQL Server, Exchange, Data Protection Manager, Operations Manager, etc. Learning PowerShell will probably put you ahead of the game when working with those tools let alone the Windows operating system...

I&#039;m disappointed there aren&#039;t any PowerShell presentations for th vConference...</description>
		<content:encoded><![CDATA[<p>There are definitely advantages to learning PowerShell. I see your point about how Cloud computing could be beneficial. I think for enterprise DBAs, though, PowerShell is probably a better technology to learn first. Cloud computing is probably a long ways away for big enterprises. PowerShell is probably more useful in the short-term for enterprise DBAs. Matter of fact, I think enterprise DBAs should learn PowerShell first. By the time they get the hang of it, maybe all the issues and uses of Cloud computing will have been well documented.</p>
<p>For me, I have a lot of interest in PowerShell, because Microsoft seems to be building it into so many tools now. They&#8217;ve made extensions for SQL Server, Exchange, Data Protection Manager, Operations Manager, etc. Learning PowerShell will probably put you ahead of the game when working with those tools let alone the Windows operating system&#8230;</p>
<p>I&#8217;m disappointed there aren&#8217;t any PowerShell presentations for th vConference&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Miller</title>
		<link>http://www.brentozar.com/archive/2009/04/powershell-poll-results/comment-page-1/#comment-8422</link>
		<dc:creator>Chad Miller</dc:creator>
		<pubDate>Fri, 17 Apr 2009 19:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=3321#comment-8422</guid>
		<description>I wonder if the results of your poll are really that different when comparing DBAs with other system administration groups (Web, Exchange, Server, etc.). I mean Windows administrators really have never been heavy scripters. There is of course, a big opportunity for Powershell to change this. As far as the value proposition of Powershell for DBAs you touched on one point--multi-server administration but I would say there are at least four additional benefits to database administrators
1. Makes getting properties easier than T-SQL or SSMS. For example This one line command exposes 97 properties of a SQL instance. It would take many SQL queries or lines of C# code to accomplish the same thing.
$server = new-object (&quot;Microsoft.SqlServer.Management.Smo.Server&quot;) &#039;Z002\SQL2K8&#039;
$server 
2. Provides a better method for doing tasks outside of the SQL space.
DBAs need to do things like check disk space, hotfixes, and delete files. These tasks are easy to accomplish with Powershell, but are impossible or ugly to do with T-SQL (hint: if you&#039;re using xp_cmdshell, you probably should look into Powershell). Here&#039;s an example getting disk space
get-wmiobject win32_logicaldisk -computername &#039;Z002&#039;
3. While SSIS is great at complex ETL, Powershell makes it easy to to automate simple data loads. A Powershell script with a call to BULK INSERT or Data.SqlClient.SqlBulkCopy may be all that is required to load an CSV file.
4. For administrators thrust into a role who must support databases yet are not DBAs, Powershell provides a common scripting language. Granted this really isn&#039;t of a benefit to a DBA, but probably is for a administrator who doesn&#039;t know T-SQL. See Dan Jone&#039;s post on this subject: http://blogs.msdn.com/dtjones/archive/2008/08/29/powershell-vs-t-sql-or-why-did-we-add-powershell-support-in-sql2k8.aspx
 
I&#039;m fortunate to have Powershell installed on all of my SQL Servers, both 2000 and 2005 running Windows 2003, however by just having Powershell on your workstation there are still many tasks you can accomplish using the built-in remoting of SMO and WMI .
 
If you&#039;re looking at using SQL + Powershell you may want to check out my Codeplex project http://sqlpsx.codeplex.com which provides over 100 functions for common SQL administration tasks.</description>
		<content:encoded><![CDATA[<p>I wonder if the results of your poll are really that different when comparing DBAs with other system administration groups (Web, Exchange, Server, etc.). I mean Windows administrators really have never been heavy scripters. There is of course, a big opportunity for Powershell to change this. As far as the value proposition of Powershell for DBAs you touched on one point&#8211;multi-server administration but I would say there are at least four additional benefits to database administrators<br />
1. Makes getting properties easier than T-SQL or SSMS. For example This one line command exposes 97 properties of a SQL instance. It would take many SQL queries or lines of C# code to accomplish the same thing.<br />
$server = new-object (&#8220;Microsoft.SqlServer.Management.Smo.Server&#8221;) &#8216;Z002\SQL2K8&#8242;<br />
$server<br />
2. Provides a better method for doing tasks outside of the SQL space.<br />
DBAs need to do things like check disk space, hotfixes, and delete files. These tasks are easy to accomplish with Powershell, but are impossible or ugly to do with T-SQL (hint: if you&#8217;re using xp_cmdshell, you probably should look into Powershell). Here&#8217;s an example getting disk space<br />
get-wmiobject win32_logicaldisk -computername &#8216;Z002&#8242;<br />
3. While SSIS is great at complex ETL, Powershell makes it easy to to automate simple data loads. A Powershell script with a call to BULK INSERT or Data.SqlClient.SqlBulkCopy may be all that is required to load an CSV file.<br />
4. For administrators thrust into a role who must support databases yet are not DBAs, Powershell provides a common scripting language. Granted this really isn&#8217;t of a benefit to a DBA, but probably is for a administrator who doesn&#8217;t know T-SQL. See Dan Jone&#8217;s post on this subject: <a href="http://blogs.msdn.com/dtjones/archive/2008/08/29/powershell-vs-t-sql-or-why-did-we-add-powershell-support-in-sql2k8.aspx" rel="nofollow">http://blogs.msdn.com/dtjones/archive/2008/08/29/powershell-vs-t-sql-or-why-did-we-add-powershell-support-in-sql2k8.aspx</a></p>
<p>I&#8217;m fortunate to have Powershell installed on all of my SQL Servers, both 2000 and 2005 running Windows 2003, however by just having Powershell on your workstation there are still many tasks you can accomplish using the built-in remoting of SMO and WMI .</p>
<p>If you&#8217;re looking at using SQL + Powershell you may want to check out my Codeplex project <a href="http://sqlpsx.codeplex.com" rel="nofollow">http://sqlpsx.codeplex.com</a> which provides over 100 functions for common SQL administration tasks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry Hung</title>
		<link>http://www.brentozar.com/archive/2009/04/powershell-poll-results/comment-page-1/#comment-8419</link>
		<dc:creator>Jerry Hung</dc:creator>
		<pubDate>Fri, 17 Apr 2009 18:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=3321#comment-8419</guid>
		<description>I am learning PowerShell, and very slowly using it to assist my work (so I&#039;m in that 10%)
And PowerShell already has 2.0 out while people are not even on 1.0

Funny timing, I believe this is a great start for anybody dipping into PowerShell
and it fits into your CMDB topic very well too. I have it running against 1 2005 and 1 2000 box to test now, no problems

The Enterprise Policy Management Framework is a reporting solution on the state of the enterprise against a desired state defined in a policy. 
Extend Policy-Based Management to all SQL Server instances in the enterprise. Centralize and report on the policy evaluation results. 
http://www.codeplex.com/EPMFramework</description>
		<content:encoded><![CDATA[<p>I am learning PowerShell, and very slowly using it to assist my work (so I&#8217;m in that 10%)<br />
And PowerShell already has 2.0 out while people are not even on 1.0</p>
<p>Funny timing, I believe this is a great start for anybody dipping into PowerShell<br />
and it fits into your CMDB topic very well too. I have it running against 1 2005 and 1 2000 box to test now, no problems</p>
<p>The Enterprise Policy Management Framework is a reporting solution on the state of the enterprise against a desired state defined in a policy.<br />
Extend Policy-Based Management to all SQL Server instances in the enterprise. Centralize and report on the policy evaluation results.<br />
<a href="http://www.codeplex.com/EPMFramework" rel="nofollow">http://www.codeplex.com/EPMFramework</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K. Brian Kelley</title>
		<link>http://www.brentozar.com/archive/2009/04/powershell-poll-results/comment-page-1/#comment-8416</link>
		<dc:creator>K. Brian Kelley</dc:creator>
		<pubDate>Fri, 17 Apr 2009 17:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.brentozar.com/?p=3321#comment-8416</guid>
		<description>Powershell is included in Windows Server 2008 and SQL Server 2008. But many folks are still on Windows Server 2003 and SQL Server 2000/2005. So PowerShell is a separate install that&#039;s not guaranteed to be where you need it. We went through this in my group years ago and realized wscript (vbscript/jscript) wasn&#039;t enough. So we went with Perl. I don&#039;t see us changing any time soon.</description>
		<content:encoded><![CDATA[<p>Powershell is included in Windows Server 2008 and SQL Server 2008. But many folks are still on Windows Server 2003 and SQL Server 2000/2005. So PowerShell is a separate install that&#8217;s not guaranteed to be where you need it. We went through this in my group years ago and realized wscript (vbscript/jscript) wasn&#8217;t enough. So we went with Perl. I don&#8217;t see us changing any time soon.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
