{"id":145,"date":"2013-07-04T01:18:41","date_gmt":"2013-07-04T06:18:41","guid":{"rendered":"https:\/\/justinparrtech.com\/JustinParr-Tech\/?p=145"},"modified":"2014-02-06T20:43:37","modified_gmt":"2014-02-07T02:43:37","slug":"rant-on-powershell","status":"publish","type":"post","link":"https:\/\/justinparrtech.com\/JustinParr-Tech\/rant-on-powershell\/","title":{"rendered":"Rant on PowerShell"},"content":{"rendered":"<p><strong>Summary: \u00a0PowerShell is a tool without a mission.<\/strong><\/p>\n<p><em>PowerShell is Microsoct&#8217;s Command Line tool for management and monitoring, circa 2007 onward.<\/em><\/p>\n<h1><span style=\"color: #ff0000;\">&lt;rant&gt;<\/span><\/h1>\n<p>Remind me why PowerShell exists again?<br \/>\n<!--more Click here to read more!--><br \/>\nSomeone woke up one day and said &#8220;wouldn&#8217;t it be great if&#8230;. we had all the CLI (Command-Line Interface) tools and scripting capability of UNIX!!!&#8221;, so they wrote PowerShell.<\/p>\n<p>One of the main problems is that, while it&#8217;s VERY COOL that PowerShell snaps in to everything (or rather, everything snaps in to PowerShell), the syntax is unique &#8212; it&#8217;s NOT related to Borne shell scripts, it&#8217;s NOT related to batch files, it&#8217;s NOT related to VB script.<\/p>\n<p>Also, just like VB script, it&#8217;s just a cover for WMI (Windows Management Instrumentation).<\/p>\n<p>So KNOWING that Microsoft made it&#8217;s first buck off of BASIC, and that high-schools have been teaching BASIC for 30 years, who decided that PowerShell should have its own syntax?\u00a0 AND FOR SAKES OF PETE, WHY A UNIQUE SYNTAX????<\/p>\n<p>The beauty of VB script is that people could pick it up and play with it because they already had been exposed to BASIC. \u00a0If BASIC was insufficient, why not make it syntactically-similar to Borne Shell, or PERL, or anything that people actually might already know?<\/p>\n<p>PowerShell brings nothing new (over VBScript) and incurs a learning curve, so therefore, PowerShell has no reason to exist, and doesn&#8217;t effectively accomplish the mission for which it was created.<\/p>\n<p>I refuse to learn it.\u00a0 I&#8217;ll copy and paste all day long from &#8220;Google Code&#8221;, as a card-carrying member of the &#8220;PowerShell SUCKS&#8221; fan club. \u00a0Given Microsoft&#8217;s track record, I expect that PowerShell will be shortly deprecated for no obvious reason, anyway, saving me the time and effort of learning a dead language.<\/p>\n<p>Meanwhile, if you need a bad-ass shell script written, I can do that for you in DOS, GWBASIC (since 1981), QBasic (since DOS 5.0), VB\/VBA (since 1994), KixStart (The &#8220;unofficial&#8221; scripting language of Windows NT), VBScript (since 1998),\u00a0Windows CMD batch file (Old syntax since NT 3.5 or new syntax since Windows 2000), or even as a GNU Win32 \/ Cygwin Borne Shell script (native since 1994 or Win32 since 2002).<\/p>\n<p>Stated more concisely: \u00a0You know what&#8217;s so cool about PowerShell? \u00a0<span style=\"text-decoration: underline;\"><strong>Nothing!<\/strong><\/span><\/p>\n<h1><span style=\"color: #ff0000;\">&lt;\/rant&gt;<\/span><\/h1>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PowerShell has no reason to exist.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-rants"],"_links":{"self":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":10,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"predecessor-version":[{"id":533,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/posts\/145\/revisions\/533"}],"wp:attachment":[{"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justinparrtech.com\/JustinParr-Tech\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}