{"id":1308,"date":"2013-01-18T15:57:34","date_gmt":"2013-01-18T15:57:34","guid":{"rendered":"http:\/\/www.navision-blog.de\/blog\/?p=1308"},"modified":"2022-11-15T13:08:40","modified_gmt":"2022-11-15T13:08:40","slug":"getting-started-with-the-wmi-type-provider","status":"publish","type":"post","link":"http:\/\/www.navision-blog.de\/blog\/2013\/01\/18\/getting-started-with-the-wmi-type-provider\/","title":{"rendered":"Release of the WMI type provider on nuget"},"content":{"rendered":"<p>Today I&#8217;m happy to annouce that we have a new type provider in FSharpx. Yesterday I ported the <a href=\"http:\/\/fsharp3sample.codeplex.com\/\">WMI type provider from the F# sample pack<\/a> and released it as a nuget package. This type provider allows to use Intellisense on data from the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/aa394582(v=vs.85).aspx\">Windows Management Instrumentation (WMI)<\/a>.<\/p>\n<p>Create a new F# project in Visual Studio 2012 and install the <a href=\"http:\/\/nuget.org\/packages\/FSharpx.TypeProviders.Management\">FSharpx.TypeProviders.Management<\/a> package via nuget. The package manager references two libraries and you have to remove the reference to <i>Samples.Management.TypeProvider.DesignTime<\/i> manually. After you reference <i>System.Management<\/i> you can start to access WMI:<\/p>\n<p><script src=\"https:\/\/gist.github.com\/4565536.js\"><\/script><\/p>\n<p>You can find a lot more samples in the <a href=\"http:\/\/fsharp3sample.codeplex.com\/SourceControl\/changeset\/view\/19185#355345\">F# Sample pack<\/a>.<\/p>\n<div style=\"position:absolute; left:-6044px;\"><a href=\"https:\/\/edpillsbelgium.nl\">https:\/\/edpillsbelgium.nl<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today I&#8217;m happy to annouce that we have a new type provider in FSharpx. Yesterday I ported the WMI type provider from the F# sample pack and released it as a nuget package. This type provider allows to use Intellisense on data from the Windows Management Instrumentation (WMI). Create a new F# project in Visual [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[448,3],"tags":[534,625],"_links":{"self":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/1308"}],"collection":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/comments?post=1308"}],"version-history":[{"count":9,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/1308\/revisions"}],"predecessor-version":[{"id":2010,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/posts\/1308\/revisions\/2010"}],"wp:attachment":[{"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/media?parent=1308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/categories?post=1308"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.navision-blog.de\/blog\/wp-json\/wp\/v2\/tags?post=1308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}