{"id":10411,"date":"2006-05-01T23:29:00","date_gmt":"2006-05-01T23:29:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2006\/05\/01\/chewy-wmi-example\/"},"modified":"2019-02-18T13:21:46","modified_gmt":"2019-02-18T20:21:46","slug":"chewy-wmi-example","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/chewy-wmi-example\/","title":{"rendered":"Chewy WMI example"},"content":{"rendered":"<p>MOW has done it again with an excellent example of a PowerShell script which does some chewy WMI processing and takes advantage of the PowerShell capabilities.&nbsp;&nbsp; <a href=\"http:\/\/mow001.blogspot.com\/2006\/05\/powershell-export-shares-and-security.html\">http:\/\/mow001.blogspot.com\/2006\/05\/powershell-export-shares-and-security.html<\/a><\/p>\n<p>Quite a few of the current WMI examples are really trivial VBScripts using PowerShell constructs.&nbsp; There is nothing wrong with that.&nbsp; <\/p>\n<ol>\n<li>It highlights the fact that you can do VBScript style scripting using PowerShell\n<li>We all spend the first 4-6 months of a technology written previous generation technology with the new tools.&nbsp; I wrote Fortran using C before I &#8220;got it&#8221;.&nbsp; Jim Waldo wrote a great paper (forever ago) about how he spent the first 6 months coding C using C++ before he started to &#8220;think objects&#8221;.<\/li>\n<\/ol>\n<p>Check it out and if you aren&#8217;t already following MOW&#8217;s blog &#8211; you should.&nbsp; It always as great stuff on it.<\/p>\n<p>Jeffrey Snover<br \/>PowerShell Architect<\/p>\n<p>PSMDTAG:TYPE:WMI: <\/p>\n","protected":false},"excerpt":{"rendered":"<p>MOW has done it again with an excellent example of a PowerShell script which does some chewy WMI processing and takes advantage of the PowerShell capabilities.&nbsp;&nbsp; http:\/\/mow001.blogspot.com\/2006\/05\/powershell-export-shares-and-security.html Quite a few of the current WMI examples are really trivial VBScripts using PowerShell constructs.&nbsp; There is nothing wrong with that.&nbsp; It highlights the fact that you can [&hellip;]<\/p>\n","protected":false},"author":600,"featured_media":13641,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[20],"class_list":["post-10411","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-typewmi"],"acf":[],"blog_post_summary":"<p>MOW has done it again with an excellent example of a PowerShell script which does some chewy WMI processing and takes advantage of the PowerShell capabilities.&nbsp;&nbsp; http:\/\/mow001.blogspot.com\/2006\/05\/powershell-export-shares-and-security.html Quite a few of the current WMI examples are really trivial VBScripts using PowerShell constructs.&nbsp; There is nothing wrong with that.&nbsp; It highlights the fact that you can [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/10411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/users\/600"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/comments?post=10411"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/10411\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media\/13641"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/media?parent=10411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=10411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=10411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}