{"id":226,"date":"2008-01-31T13:53:14","date_gmt":"2008-01-31T13:53:14","guid":{"rendered":"http:\/\/dalelane.co.uk\/blog\/?p=226"},"modified":"2008-01-31T13:55:44","modified_gmt":"2008-01-31T13:55:44","slug":"thinking-out-loud-powershell-support-for-db2","status":"publish","type":"post","link":"https:\/\/dalelane.co.uk\/blog\/?p=226","title":{"rendered":"Thinking out loud: PowerShell support for DB2?"},"content":{"rendered":"<p>My <a href=\"http:\/\/www-1.ibm.com\/support\/docview.wss?rs=171&amp;uid=swg24017698\">PowerShell library for WebSphere MQ<\/a> has been out for a month or so now, and it seems to have been well-received. I&#8217;ve seen a surprising amount of blog posts and news articles about it, the download stats for the SupportPac are very encouraging, and I&#8217;m getting a steady (if slowly growing) stream of emails with requests for help and new features. <\/p>\n<p>There is still more to finish with the WMQ library &#8211; the biggest piece of outstanding work is adding support for z\/OS queue managers, but there are a few other bits and pieces to do as well.<\/p>\n<p>But even so &#8211; with my usual attention span of an easily distracted child, I&#8217;m starting to look at what I might try next. <\/p>\n<p>I&#8217;m thinking a PowerShell extension for <a href=\"http:\/\/www.ibm.com\/db2\/\">DB2<\/a> might be a good next step. <\/p>\n<p>Why?<\/p>\n<ul>\n<li>Like WebSphere MQ, the prospect of writing it is made much easier by the fact that there is already a .NET API and support for <a href=\"http:\/\/publib.boulder.ibm.com\/infocenter\/db2luw\/v9\/topic\/com.ibm.db2.udb.apdv.ms.doc\/doc\/t0011023.htm\">building C# applications for DB2<\/a>\n<\/li>\n<li>Database administration seems to lend itself quite well to PowerShell&#8217;s object-oriented nature. Using Select, Where, et al. still reminds me of SQL pretty much every time I type it\n<\/li>\n<li>I know very little about DB2, and it&#8217;d be a chance to learn something new\n<\/li>\n<\/ul>\n<p>Okay, so my third reason sounds a little weak, but on a personal level, it&#8217;s a consideration.<\/p>\n<p>But would there be a demand for supporting DB2 administration using PowerShell? I don&#8217;t know&#8230; I&#8217;ve not heard anyone ask for it, and other than a <a href=\"http:\/\/www.ibm.com\/developerworks\/forums\/thread.jspa?messageID=13960543\">post on a developerWorks forum<\/a>, I haven&#8217;t been able to find much of a call for it. <\/p>\n<p>Still, it&#8217;s an interesting idea.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My PowerShell library for WebSphere MQ has been out for a month or so now, and it seems to have been well-received. I&#8217;ve seen a surprising amount of blog posts and news articles about it, the download stats for the SupportPac are very encouraging, and I&#8217;m getting a steady (if slowly growing) stream of emails [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[77,569,34],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-tech","tag-db2","tag-ibm","tag-powershell"],"_links":{"self":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=226"}],"version-history":[{"count":0,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/226\/revisions"}],"wp:attachment":[{"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dalelane.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}