{"id":9471,"date":"2006-10-19T23:39:00","date_gmt":"2006-10-19T23:39:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/powershell\/2006\/10\/19\/turning-the-dial-to-11-with-custom-typeconverters\/"},"modified":"2019-02-18T13:21:14","modified_gmt":"2019-02-18T20:21:14","slug":"turning-the-dial-to-11-with-custom-typeconverters","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/powershell\/turning-the-dial-to-11-with-custom-typeconverters\/","title":{"rendered":"Turning the dial to 11 with Custom TypeConverters"},"content":{"rendered":"<p>If you are the sort of bloke that likes to&nbsp;turn&nbsp;the dial to 11, you should check out Abhishek&#8217;s recent blog entry on Custom TypeConverters:<\/p>\n<p><a href=\"http:\/\/abhishek225.spaces.live.com\/Blog\/cns!13469C7B7CE6E911!191.entry\">http:\/\/abhishek225.spaces.live.com\/Blog\/cns!13469C7B7CE6E911!191.entry<\/a><\/p>\n<p>Much of the power of Windows PowerShell comes from the type coercion capabilities of our ObjectFlow engine.&nbsp; This is what allows PowerShell to eliminate tons of low-class, impedance-mismatch programming minutia and allows you to focus on the problem you are trying to solve.&nbsp; There are a number of things we do here including type creation, using a type&#8217;s PARSE method, leveraging the .NET type conversion system, etc but we also provide a mechanism for you to participate.&nbsp; Abhishek shows you how. <\/p>\n<p>&nbsp;This is not for your mainstream Admin but if you like tinkering with the system and appreciate how a little bit of code can provide incredible functional leverage &#8211; then you should give this a try &#8211; it&#8217;s a rush.&nbsp; If you produce something good, you should share it with the community so that the mainstream can benefit and you can bask in the glory being a true PowerHead.&nbsp; \ud83d\ude42<\/p>\n<p>Jeffrey Snover [MSFT]<br \/>Windows PowerShell\/MMC Architect<br \/>Visit the Windows PowerShell Team blog at:&nbsp;&nbsp;&nbsp; <a href=\"http:\/\/blogs.msdn.com\/PowerShell\">http:\/\/blogs.msdn.com\/PowerShell<\/a><br \/>Visit the Windows PowerShell ScriptCenter at:&nbsp; <a href=\"http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx\">http:\/\/www.microsoft.com\/technet\/scriptcenter\/hubs\/msh.mspx<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>FYI: &#8220;Turning the dial to 11&#8221;:&nbsp; <a href=\"https:\/\/youtube.com\/watch?v=akaD9v460yI\">https:\/\/youtube.com\/watch?v=akaD9v460yI<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are the sort of bloke that likes to&nbsp;turn&nbsp;the dial to 11, you should check out Abhishek&#8217;s recent blog entry on Custom TypeConverters: http:\/\/abhishek225.spaces.live.com\/Blog\/cns!13469C7B7CE6E911!191.entry Much of the power of Windows PowerShell comes from the type coercion capabilities of our ObjectFlow engine.&nbsp; This is what allows PowerShell to eliminate tons of low-class, impedance-mismatch programming minutia [&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":[19,15],"class_list":["post-9471","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-internal","tag-typeextension"],"acf":[],"blog_post_summary":"<p>If you are the sort of bloke that likes to&nbsp;turn&nbsp;the dial to 11, you should check out Abhishek&#8217;s recent blog entry on Custom TypeConverters: http:\/\/abhishek225.spaces.live.com\/Blog\/cns!13469C7B7CE6E911!191.entry Much of the power of Windows PowerShell comes from the type coercion capabilities of our ObjectFlow engine.&nbsp; This is what allows PowerShell to eliminate tons of low-class, impedance-mismatch programming minutia [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/9471","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=9471"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/posts\/9471\/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=9471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/categories?post=9471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/powershell\/wp-json\/wp\/v2\/tags?post=9471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}