<?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>Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx</link><description>In my previous post about Boolean Values And Operators I made the following point: " PowerShell has a rich notion of TRUE/FALSE because it dramatically reduces the overhead and junk that you need to deal with when doing your work. " This philosophy flows</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1362989</link><pubDate>Tue, 26 Dec 2006 00:48:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1362989</guid><dc:creator>Yuval Rakavy</dc:creator><description>&lt;p&gt;Here is a small script to have a nice prompt.&lt;/p&gt;
&lt;p&gt;When I am in my documents, replace the long prefix c:\Documents and Settings\{User}\My documents to ~, so rather than have half a line prompt, you get some more typing space...&lt;/p&gt;
&lt;p&gt;function global:prompt {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$location = (get-location)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$prefix = $home + &amp;quot;\My Documents&amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if($location.ToString().StartsWith($prefix)) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;PS ~&amp;quot; + $location.ToString().Substring($prefix.Length) + &amp;quot;&amp;gt; &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;PS &amp;quot; + $location + &amp;quot;&amp;gt; &amp;quot;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1363154</link><pubDate>Tue, 26 Dec 2006 02:00:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1363154</guid><dc:creator>Craig</dc:creator><description>&lt;p&gt;Are there any Get-FileVersionInfo functions laying around?&lt;/p&gt;</description></item><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1363180</link><pubDate>Tue, 26 Dec 2006 02:09:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1363180</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;&amp;gt; Are there any Get-FileVersionInfo functions laying around?&lt;/p&gt;
&lt;p&gt;Yup - check out:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://iirc.spaces.live.com/Blog/cns"&gt;http://iirc.spaces.live.com/Blog/cns&lt;/a&gt;!CBB573C0CE8DEB37!371.entry&lt;/p&gt;
&lt;p&gt;I left a comment encouraging the use of Fullnames and pithy aliases. &amp;nbsp;See my comment for there for an example of what I mean.&lt;/p&gt;
&lt;p&gt;Jeffrey Snover [MSFT]&lt;/p&gt;
&lt;p&gt;Windows PowerShell/MMC Architect&lt;/p&gt;
&lt;p&gt;Visit the Windows PowerShell Team blog at: &amp;nbsp; &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/PowerShell"&gt;http://blogs.msdn.com/PowerShell&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Visit the Windows PowerShell ScriptCenter at: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx"&gt;http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1364774</link><pubDate>Tue, 26 Dec 2006 14:37:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1364774</guid><dc:creator>reinux</dc:creator><description>&lt;P&gt;Sorry to write another rant especially on Christmas, but this has been bothering me for a while.&lt;/P&gt;
&lt;P&gt;Each time these features of subtle nuance are discussed on this blog I feel less and less confident in my knowledge of the language. So much so that I still haven't had a chance to make anything useful in PowerShell.&lt;/P&gt;
&lt;P&gt;I'd rather spend a couple extra seconds thinking than consult the manual each time I'm not sure about some well-meaning but uncertain behavior. That's a lot more "overhead".&lt;/P&gt;
&lt;P&gt;Discovering, learning and/or memorizing which conditions a string will evaluate to true or false is not fun, especially if there is a reasonable risk that we will end up learning the hard way: post mortem.&lt;/P&gt;
&lt;P&gt;Learning and actively recalling these conditions requires more thinking than punching in a few extra keystrokes to disambiguify.&lt;/P&gt;
&lt;P&gt;Coming from a C background, you have to understand that not only do null strings evaluate as false, you also have to realize (usually the hard way unless you've been reading this blog) that empty strings evaluate false as well.&lt;/P&gt;
&lt;P&gt;Coming from a C# or VB background you would have no problem with a little bit of verbosity.&lt;/P&gt;
&lt;P&gt;Coming from Bash you would expect to use the -n operator for this purpose.&lt;/P&gt;
&lt;P&gt;Coming from IT administration with little to no programming knowledge, intuition would probably tell you that, like most of the strict literal behavior of computers in general, it would just throw an error -- strings aren't yes/no's.&lt;/P&gt;
&lt;P&gt;I'm concerned that the textbooks for the language are going to end up being just as thick as the language is rich.&lt;/P&gt;</description></item><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1365336</link><pubDate>Tue, 26 Dec 2006 18:58:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1365336</guid><dc:creator>Matt Moran</dc:creator><description>&lt;p&gt;I loved this entry because it is a message I have been evangelizing since early in my career.&lt;/p&gt;
&lt;p&gt;Having published several articles - both magazine and online - on Kixtart and other scripting tools - I am convinced that automation and its underutilization across much of IT is a huge missed opportunity for IT professionals to add tremendous value.&lt;/p&gt;
&lt;p&gt;I blogged about your post and my thoughts on scripting and automation here...&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.ittoolbox.com/pm/career/archives/why-automation-matters-hint-why-it-matters-too-13634"&gt;http://blogs.ittoolbox.com/pm/career/archives/why-automation-matters-hint-why-it-matters-too-13634&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In order for IT to provide innovation at the organization (department and user) level, IT Must First Automate IT.&lt;/p&gt;
&lt;p&gt;I'm excited about Powershell because it provides another great tool for doing so.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;</description></item><item><title>Huge advances come from the accumulation of small deltas (or: Why You Should Blog)</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1368332</link><pubDate>Wed, 27 Dec 2006 08:48:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1368332</guid><dc:creator>Tim Long</dc:creator><description>&lt;P&gt;I stole the title of this post from Jeffrey Snover, architect of Windows Powershell. Jeffrey has a post&lt;/P&gt;</description></item><item><title>Resolve to blog your automation </title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1369704</link><pubDate>Wed, 27 Dec 2006 19:54:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1369704</guid><dc:creator>Windows PowerShell</dc:creator><description>&lt;p&gt;In response to my entry Philosophy of Automation , Tim Long blogged a response where he advanced the&lt;/p&gt;
</description></item><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1370301</link><pubDate>Wed, 27 Dec 2006 23:09:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1370301</guid><dc:creator>Jeffery Hicks</dc:creator><description>&lt;p&gt;I love this idea and have tried to live it myself for many years. It's something I've tried to stress to students and readers. It may not seem like much but even saving a few keystrokes helps. If I can do something with 2 keystrokes I don't have to reach for my mouse or worry about mistyping a long command and having to correct it.&lt;/p&gt;
&lt;p&gt;I blogged recently about an &amp;quot;old-school&amp;quot; automation technique of Doskey. (&lt;a rel="nofollow" target="_new" href="http://sapien.eponym.com/blog/Scripting/BatchCmd/_archives/2006/12/18/2581354.html"&gt;http://sapien.eponym.com/blog/Scripting/BatchCmd/_archives/2006/12/18/2581354.html&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;I have to say that after starting to use Doskey again, I find myself getting a little more done with a little less energy. Right now there's a trade-off in that I'm spending time adding to my macro file but in the long run I know it will payoff.&lt;/p&gt;</description></item><item><title>Send-SignatureToClipBoard</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1371101</link><pubDate>Thu, 28 Dec 2006 03:44:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1371101</guid><dc:creator>Windows PowerShell</dc:creator><description>&lt;p&gt;In my previous blog about the Philosophy of Automation , I encouraged everyone to share their automation&lt;/p&gt;
</description></item><item><title>Editing your Profile file</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1375318</link><pubDate>Thu, 28 Dec 2006 20:33:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1375318</guid><dc:creator>Windows PowerShell</dc:creator><description>&lt;p&gt;$hay has a new scripting blog at &lt;a rel="nofollow" target="_new" href="http://scriptolog.blogspot.com/"&gt;http://scriptolog.blogspot.com/&lt;/a&gt; . His first blog entry Restart your&lt;/p&gt;
</description></item><item><title>re: Philosophy of Automation</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1376110</link><pubDate>Thu, 28 Dec 2006 23:40:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1376110</guid><dc:creator>dave dolan</dc:creator><description>&lt;P&gt;Haha, Jeff, so I agree with you 100% on the automation, &amp;nbsp;and in some ways I've been saying the same thing for years, as I'm sure you have... The only question I have for you is: how'd you score such a nifty post alias like Windows PowerShell? &amp;nbsp;Can I be Windows UsefulButNotQuitePowerShell?&lt;/P&gt;</description></item><item><title>The Admin Development Model and Send-Snippet </title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1392429</link><pubDate>Mon, 01 Jan 2007 09:13:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1392429</guid><dc:creator>Windows PowerShell</dc:creator><description>&lt;p&gt;One of the things that motivated us to develop PowerShell was the belief that we (Microsoft) had been&lt;/p&gt;
</description></item><item><title>Make your SharePoint debugging experience a little less painful</title><link>http://blogs.msdn.com/powershell/archive/2006/12/25/philosophy-of-automation.aspx#1529559</link><pubDate>Thu, 25 Jan 2007 17:57:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1529559</guid><dc:creator>Andrew Connell [MVP MCMS]</dc:creator><description>&lt;p&gt;Make your SharePoint debugging experience a little less painful&lt;/p&gt;
</description></item></channel></rss>