﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Discuss Content Posted by Johan Bijnens / Article Discussions / Article Discussions by Author  / Me, myself and Powershell / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 20:07:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>Please allow me to point to  a very interesting project at codeplex:[url=http://sqlspade.codeplex.com/]Scripted PowerShell Automated Deployment Engine (SPADE) for SQL Server[/url]pre-configure windows, install sql, post install scripts, ....</description><pubDate>Thu, 05 Jan 2012 11:09:27 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]pkrudysz (12/29/2011)[/b][hr][quote][b]ALZDBA (12/29/2011)[/b][hr] - setting startup parameters if your service account doesn't have local sysadmin at windows level.[/quote]- Cool.[quote][b]ALZDBA (12/29/2011)[/b][hr]- granting auth at windows level ( e.g. to push backup files to a safe zone )[/quote]- xp_cmdshell[quote][b]ALZDBA (12/29/2011)[/b][hr]- are you using SMO to configure sqlserver things ? [/quote]- No, no need.  I use sqlserver (SSMS/T-SQL) to configure sqlserver things[/quote]Of course you can do it all manually, time and again.You are correct, xp_cmdshell can take you a long way.Powershell [i]only[/i] provides the means to hook up to more than just what's available in DOS (xp_cmdshell) and vbscript. That means for many systems people, that don't program e.g. c#.net, .. they have to learn only one language syntax, hook up to their target namespace and use that software's proper methodes to configure whatever needed.</description><pubDate>Thu, 29 Dec 2011 07:53:31 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]ALZDBA (12/29/2011)[/b][hr] - setting startup parameters if your service account doesn't have local sysadmin at windows level.[/quote]- Cool.[quote][b]ALZDBA (12/29/2011)[/b][hr]- granting auth at windows level ( e.g. to push backup files to a safe zone )[/quote]- xp_cmdshell[quote][b]ALZDBA (12/29/2011)[/b][hr]- are you using SMO to configure sqlserver things ? [/quote]- No, no need.  I use sqlserver (SSMS/T-SQL) to configure sqlserver things</description><pubDate>Thu, 29 Dec 2011 04:15:36 GMT</pubDate><dc:creator>pkrudysz</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>e.g. - setting startup parameters if your service account doesn't have local sysadmin at windows level.- granting auth at windows level ( e.g. to push backup files to a safe zone )- are you using SMO to configure sqlserver things ? you name it, you got it.</description><pubDate>Thu, 29 Dec 2011 00:50:13 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>Oftentimes folks applaud PowerShell for things, and I see that those things can be done and automated just as easily in t-sql.  I am looking for a list of PowerShell stuff that CANNOT be done in SQL, and that a DBA can find handy.  One example I can think of is accessing non-SQL performance counters.  Anything else useful for a DBA?</description><pubDate>Wed, 28 Dec 2011 06:14:48 GMT</pubDate><dc:creator>pkrudysz</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]hemanth.damecharla (12/7/2011)[/b][hr]Automating daily tasks is not only easy with Posh but, fun as well :-) Chad Miller's MSCS code on poshcode site is a wonderful starting point if you want to get a hang of WMI. I would like to thank Chad for posting this particular piece of code [url]http://poshcode.org/2886[/url]. I tried it as challenge to get all the data in one shot (Cluster, Groups, Resources and resource types), it was an awesome feeling when I was able to do it. After that, you can build a hash with the data; add some methods and vallah, you don't have to look at cluster admin console again ;-)[b]Power[/b]Shell is aptly named.[/quote]I can't stress the FUN part enough.There is indeed a whole bunch of practical info and great samples out there.Chad is one of the people posting on a regular basis and knowing his stuff.Thank you for the feedback.</description><pubDate>Wed, 07 Dec 2011 10:35:02 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>Automating daily tasks is not only easy with Posh but, fun as well :-) Chad Miller's MSCS code on poshcode site is a wonderful starting point if you want to get a hang of WMI. I would like to thank Chad for posting this particular piece of code [url]http://poshcode.org/2886[/url]. I tried it as challenge to get all the data in one shot (Cluster, Groups, Resources and resource types), it was an awesome feeling when I was able to do it. After that, you can build a hash with the data; add some methods and vallah, you don't have to look at cluster admin console again ;-)[b]Power[/b]Shell is aptly named.</description><pubDate>Wed, 07 Dec 2011 08:55:24 GMT</pubDate><dc:creator>hemanth.damecharla</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]Samuel Vella (12/7/2011)[/b][hr][quote][b]ALZDBA (12/7/2011)[/b][hr]Thank you, Samuel.Please share some use cases and code samples if you can.DBA/sysadmins really need to get started exploring Powershell![/quote]Use cases:Dev environment with 100's of tables, stored procedures, views functions etc... some of which need to be promoted to the production environment.[/quote]That would be an interesting topic.[quote]A combination of excel and powershell means you can maintain a list of items and quickly pull the creation scripts out of the development environment.The spreadsheet and associated macros are probably worth an article in their own right[/quote]Very true.</description><pubDate>Wed, 07 Dec 2011 08:40:15 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]ALZDBA (12/7/2011)[/b][hr]Thank you, Samuel.Please share some use cases and code samples if you can.DBA/sysadmins really need to get started exploring Powershell![/quote]Use cases:Dev environment with 100's of tables, stored procedures, views functions etc... some of which need to be promoted to the production environment.A combination of excel and powershell means you can maintain a list of items and quickly pull the creation scripts out of the development environment.The spreadsheet and associated macros are probably worth an article in their own right</description><pubDate>Wed, 07 Dec 2011 08:21:01 GMT</pubDate><dc:creator>Samuel Vella</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]mohammed moinudheen (12/7/2011)[/b][hr]Thank you Johan, really good article.[/quote]Thank you, Mohammed.[quote][b]Samuel Vella (12/7/2011)[/b][hr][quote][b]skron (12/6/2011)[/b][hr]I have found Powershell to be invaluable to me as a DBA.  I have been able to replace a large chunk of monitoring tools with it.  Keep giving us the good examples.:-D[/quote]It's quite handy as a developer as well powershell is great for scripting out objects in a much more flexible and repeatable manner than SSMS allows.[/quote]Thank you, Samuel.Please share some use cases and code samples if you can.DBA/sysadmins really need to get started exploring Powershell!Number of reads after 24hours: 4,955 reads. I'm quite happy with that :w00t:</description><pubDate>Wed, 07 Dec 2011 05:49:40 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]skron (12/6/2011)[/b][hr]I have found Powershell to be invaluable to me as a DBA.  I have been able to replace a large chunk of monitoring tools with it.  Keep giving us the good examples.:-D[/quote]It's quite handy as a developer as well powershell is great for scripting out objects in a much more flexible and repeatable manner than SSMS allows.</description><pubDate>Wed, 07 Dec 2011 02:21:27 GMT</pubDate><dc:creator>Samuel Vella</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>Thank you Johan, really good article.</description><pubDate>Wed, 07 Dec 2011 01:07:57 GMT</pubDate><dc:creator>mohammed moinudheen</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>[quote][b]Roy Ernest (12/6/2011)[/b][hr]Good Job Johan... :-) Nice examples.[/quote]Thank you, Roy. I hope it gets people started. [quote][b]skron (12/6/2011)[/b][hr]I have found Powershell to be invaluable to me as a DBA.  I have been able to replace a large chunk of monitoring tools with it.  Keep giving us the good examples.:-D[/quote]Thank you skron for sharing your experience. That's the kind of info we - sql devoted people - need if we want to get people started and experiencing how Powershell can help out fairly easy.Please share some use cases and code samples if you can.</description><pubDate>Tue, 06 Dec 2011 12:39:32 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>I have found Powershell to be invaluable to me as a DBA.  I have been able to replace a large chunk of monitoring tools with it.  Keep giving us the good examples.:-D</description><pubDate>Tue, 06 Dec 2011 10:45:09 GMT</pubDate><dc:creator>skron</dc:creator></item><item><title>RE: Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>Good Job Johan... :-) Nice examples.</description><pubDate>Tue, 06 Dec 2011 10:11:26 GMT</pubDate><dc:creator>Roy Ernest</dc:creator></item><item><title>Me, myself and Powershell</title><link>http://www.sqlservercentral.com/Forums/Topic1216773-370-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/powershell/76405/"&gt;Me, myself and Powershell&lt;/A&gt;[/B]</description><pubDate>Mon, 05 Dec 2011 22:01:08 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item></channel></rss>