﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Article Discussions / Article Discussions by Author / Discuss content posted by Aaron Nelson  / Day Zero with 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>Sat, 25 May 2013 04:51:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>I wish I'd ask this when I first replied, but I forgot.  Anyway, what is that [b]Administrator: Windows PowerShell ISE[/b] window?  Whenever I've gotten into PowerShell before I would just hit Run and then type "PowerShell", so what's this?  And should I use that, instead of using the Run | PowerShell option?</description><pubDate>Mon, 02 Jan 2012 08:50:04 GMT</pubDate><dc:creator>Doctor Who 2</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>I really appreciate this, as PowerShell is something I've wanted to get into for a while.  I've used it, but only minimally.  This series will help me tremendously, I'm sure.</description><pubDate>Mon, 02 Jan 2012 08:43:09 GMT</pubDate><dc:creator>Doctor Who 2</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Aaron,I should have read this article the first time it was published. This is one cool thing you have written on Powershell and has got me interested in this subject. I need to make sure not to delay learning about Powershell.Thank you.</description><pubDate>Mon, 02 Jan 2012 06:33:46 GMT</pubDate><dc:creator>mohammed moinudheen</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Yes.  I think you just need to open up the x86 version of the ISE and you'll be fine.</description><pubDate>Mon, 24 Oct 2011 17:57:42 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Thanks for a nice post. Can't wait for subsequent posts.BTW i got this error message:[b]PS C:\Windows\system32&amp;gt; import-module SQLProfilerAttention. This module only runs on x86 Powershell. Execution interrupted[/b]Any ideas?</description><pubDate>Mon, 24 Oct 2011 17:46:23 GMT</pubDate><dc:creator>ifiok.moses</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>[quote][b]steve.treloar (5/24/2011)[/b][hr]Great article Aaron! [/quote]Thanks Steve!I did another article the following day on how to calculate data file space usage using PowerShell [url=http://www.sqlservercentral.com/articles/powershell/73289/]http://www.sqlservercentral.com/articles/powershell/73289/[/url]I have quite a few blog posts about useful PowerShell+SQL scripts here: [url=http://sqlpowershell.com/]http://sqlpowershell.com/[/url]</description><pubDate>Tue, 24 May 2011 11:38:09 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Great article Aaron! Now that I have it installed and functional. (I've been procrastinating for a long time)  I would really like to see more on what people are using PowerShell for on a daily basis. How can PowerShell make my life easier? I am not a DBA. I and another guy, manage about 100 MickySoft servers, six of them are SQL, for which we have a couple DBA's to do most of the data manipulation and application programming for. I have a SharePoint farm implemented, but the DBA's don't do much of anything there. I'm looking forward to more articles on PowerShell relative to SQL.Thanks. -Steve</description><pubDate>Tue, 24 May 2011 10:27:29 GMT</pubDate><dc:creator>steve.treloar</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Great article!  I've been working at learning PowerShell for a little while now and look forward to future articles.I can manually stop the agent on my test server myself and when I run the script it will tell me that it is stopped but the script won't start it.  I get this error:Start-Service : Cannot find any service with service name 'SQLSERVERAGENT'.At line:12 char:14+ Start-Service &amp;lt;&amp;lt;&amp;lt;&amp;lt;     + CategoryInfo          : ObjectNotFound: (SQLSERVERAGENT:String) [Start-Service], ServiceCommandException    + FullyQualifiedErrorId : NoServiceFoundForGivenName,Microsoft.PowerShell.Commands.StartServiceCommandWhat am I missing?</description><pubDate>Mon, 16 May 2011 09:51:20 GMT</pubDate><dc:creator>shawnjohnson</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Simply Great Work and i started learning Power Shell Atlast with your help. Looking forward for more classes.</description><pubDate>Fri, 13 May 2011 15:31:37 GMT</pubDate><dc:creator>JakDBA</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Good stuff! Wish I had found this article a year ago. I struggled getting started before. I hope this helps people just getting their feet wet.</description><pubDate>Wed, 11 May 2011 17:03:10 GMT</pubDate><dc:creator>SQLSandwiches</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>[quote][b]Steve Jones - SSC Editor (5/10/2011)[/b][hr]Added spaces into the code. Should look fine now.[/quote]Mucho Mejor!  Gracias Senior Jones.</description><pubDate>Tue, 10 May 2011 19:22:08 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>For running the example script you will probably need to [u]elevate your shell [/u](I keep forgetting that I have a pre-emptive work-around in place for this).  Just hold down the Ctrl + Shift Keys and then click on the shortcut for the ISE.  Then run the script in that &amp;#119;indow.  I'll work on getting a Summary for the Execution Policies however your best/most complete answer is in the Help files.  June does a good job with those.</description><pubDate>Tue, 10 May 2011 19:18:17 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Thanks much for all of these tips.</description><pubDate>Tue, 10 May 2011 18:08:46 GMT</pubDate><dc:creator>SQLRNNR</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Thanks DJ.  Can you maybe explain the purpose of the Set-ExecutionPolicy command?  Also, when I tried the sample code, I got an error when trying to restart a server which I manually stopped:Start-Service : Service 'SQL Server Agent (SQL2008) (SQLAgent$SQL2008)' cannot be started due to the following error: Cannot open SQLAgent$SQL2008 service on computer '.'.At line:6 char:14+ Start-Service &amp;lt;&amp;lt;&amp;lt;&amp;lt;     + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand</description><pubDate>Tue, 10 May 2011 15:15:27 GMT</pubDate><dc:creator>Eric Stimpson</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>[quote][b]DJ (5/10/2011)[/b][hr]Nice article, Aaron.  It is very nice to have the requirements assembled in one place.Thank you![/quote]Thanks DJ, glad you liked it.  There should be more 'good reasons' to use PowerShell coming out very soon ;-)</description><pubDate>Tue, 10 May 2011 08:56:18 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Added spaces into the code. Should look fine now.</description><pubDate>Tue, 10 May 2011 08:42:12 GMT</pubDate><dc:creator>Steve Jones - SSC Editor</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>This is great...just great...One of the [strike]excuses[/strike] obstacles for not getting started with PowerShell has been just getting things set up to be able to actually use the thing.  This seemed to be a secret passed among an elite priesthood in dark misty passage ways.   Not a place for mere mortals to tread.Now, along comes Aaron Nelson and puts everything in a single, easy to digest article.You've totally blown my excuse to not use PowerShell!  Sheesh.Ok, seriously.  Nice article, Aaron.  It is very nice to have the requirements assembled in one place.Thank you!</description><pubDate>Tue, 10 May 2011 08:17:24 GMT</pubDate><dc:creator>Dexter Jones</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Yes, there whould definitely be a space.  Sorry, the editor isn't properly rendering the code that I posted.</description><pubDate>Tue, 10 May 2011 04:39:22 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Thomas - yes.  Also "ft -a" instead of "ft-a" in the example script.Other than that, finally got me going with PowerShell - thanks Aaron! </description><pubDate>Tue, 10 May 2011 03:24:48 GMT</pubDate><dc:creator>colin.frame</dc:creator></item><item><title>RE: Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Should there be a space in the "Set-ExecutionPolicy RemoteSigned" command?</description><pubDate>Tue, 10 May 2011 00:49:34 GMT</pubDate><dc:creator>Thomas Williams</dc:creator></item><item><title>Day Zero with PowerShell</title><link>http://www.sqlservercentral.com/Forums/Topic1105861-2683-1.aspx</link><description>Comments posted to this topic are about the item [B]&lt;A HREF="/articles/powershell/73288/"&gt;Day Zero with PowerShell&lt;/A&gt;[/B]</description><pubDate>Tue, 10 May 2011 00:01:17 GMT</pubDate><dc:creator>Aaron Nelson - SQLvariant</dc:creator></item></channel></rss>