<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Learn When to Write PowerShell Scripts and When Not To</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/11/29/learn-when-to-write-powershell-scripts-and-when-not-to.aspx</link><description>Summary: Microsoft Scripting Guy Ed Wilson discusses when to write a Windows PowerShell script and when not to write a script. 
 
 Hey, Scripting Guy! I am wondering why everyone is talking about Windows PowerShell. To me it seems to simply be another</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Learn When to Write PowerShell Scripts and When Not To</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/11/29/learn-when-to-write-powershell-scripts-and-when-not-to.aspx#3373278</link><pubDate>Mon, 06 Dec 2010 11:33:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3373278</guid><dc:creator>ScriptingGuy1</dc:creator><description>&lt;p&gt;@russ You should write a PowerShell script when you anticipate the need to run the command on more than one occassion. You should write a script if the command is very long and complicated (for me this is a command that takes up more than two lines in the PowerShell console). There are a few exceptions. If a command is a simple PowerShell cmdlet (stop-computer) then I do not put that in a script. In addition, most WMI commands are short enough for me not to mess with. For example I have yet to write a script to retrieve the bios (gwmi win32_bios). If on the other hand, I had a need for a sorted list of unique processes, and I wanted a particular style of output I might put that in a script. Keep in mind, that at its most basic, a script is just a collection of commands you might otherwise type in the console.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3373278" width="1" height="1"&gt;</description></item><item><title>re: Learn When to Write PowerShell Scripts and When Not To</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/11/29/learn-when-to-write-powershell-scripts-and-when-not-to.aspx#3373270</link><pubDate>Mon, 06 Dec 2010 10:59:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3373270</guid><dc:creator>russ</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; can you clearly summarise When to Write PowerShell Scripts and When Not To please ?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3373270" width="1" height="1"&gt;</description></item></channel></rss>