{"id":428,"date":"2008-05-08T17:34:16","date_gmt":"2008-05-09T01:34:16","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/2008\/05\/08\/do-i-need-to-learn-the-net-framework-in-order-to-use-powershell\/"},"modified":"2008-05-08T17:34:16","modified_gmt":"2008-05-09T01:34:16","slug":"do-i-need-to-learn-the-net-framework-in-order-to-use-powershell","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2008\/05\/08\/do-i-need-to-learn-the-net-framework-in-order-to-use-powershell\/","title":{"rendered":"Do I need to learn the .NET Framework in order to use PowerShell?"},"content":{"rendered":"<p>In a word, no.&nbsp;<\/p>\n<p>I&#8217;m sure some of my fellow PowerShell MVP recipients and other enthusiasts will disagree. Certainly, you <b>can<\/b> use the Framework from within PowerShell, and that&#8217;s a great capability to have. Sitting here today, there are many things which are most easily achieved using the Framework &#8211; not &quot;easy,&quot; mind you, just &quot;most easily&quot; &#8211; such as pinging other computers, resolving DNS names, and so forth.<\/p>\n<p>But as support for PowerShell grows, more and more functionality will be exposed as consistently-named, easy-to-use cmdlets (in fact, both examples I just gave can be achieved using cmdlets from the <a href=\"http:\/\/www.codeplex.com\/powershellcx\">PowerShell Community Extensions<\/a> &#8211; a perfect example of the evolution I&#8217;m talking about). Microsoft&#8217;s intent is that .NET is for developers; admins get cmdlets, which map .NET functionality to real-world admin tasks.<\/p>\n<p>WMI is in a similar position. Today, there&#8217;s a lot you can ONLY do by using WMI directly. Over time, that will change as WMI becomes a more developer-centric API, and cmdlets become the way administrators work. Those cmdlets may use WMI behind the scenes, but you won&#8217;t really care.<\/p>\n<p>So &#8211; can you be a PowerShell Super User, today, without the Framework? Well, probably not. But you can accomplish a heck of a lot, especially in PowerShell-ed products like Exchange, SCOM, SCVMM, and more. Over time, you&#8217;ll be able to administer AD, IIS, probably DNS and DHCP, and who knows what else, all using PowerShell cmdlets &#8211; not the Framework, and eventually not even WMI. So if you&#8217;ve heard that PowerShell is based on .NET and that you MUST learn .NET to be effective with PowerShell &#8211; well, that&#8217;s just not true. So jump in and <a href=\"http:\/\/www.scriptingtraining.com\">start learning PowerShell<\/a> today &#8211; it&#8217;s just a shell, not a .NET Framework tool.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a word, no.&nbsp; I&#8217;m sure some of my fellow PowerShell MVP recipients and other enthusiasts will disagree. Certainly, you can use the Framework from within PowerShell, and that&#8217;s a great capability to have. Sitting here today, there are many things which are most easily achieved using the Framework &#8211; not &quot;easy,&quot; mind you, just [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,25],"tags":[169,170,28],"class_list":["post-428","post","type-post","status-publish","format-standard","hentry","category-general","category-windows-powershell","tag-net-framework","tag-learn","tag-powershell"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=428"}],"version-history":[{"count":0,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/428\/revisions"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}