{"id":161,"date":"2019-11-19T20:24:06","date_gmt":"2019-11-19T20:24:06","guid":{"rendered":"http:\/\/192.168.8.14\/?p=161"},"modified":"2019-11-19T20:24:06","modified_gmt":"2019-11-19T20:24:06","slug":"getting-tasks-from-vmware","status":"publish","type":"post","link":"https:\/\/www.jasonstreet.com\/?p=161","title":{"rendered":"Getting tasks from VMWare"},"content":{"rendered":"\n<p>If you use the flash client to administer a vCenter server then you will know how bad it is at updating the task list.<\/p>\n\n\n\n<p>Here is a handy powershell example of getting a list of running tasks.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nget-task\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"115\" src=\"http:\/\/192.168.8.14\/wp-content\/uploads\/2019\/11\/snap001-1.png\" alt=\"\" class=\"wp-image-162\" srcset=\"https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2019\/11\/snap001-1.png 562w, https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2019\/11\/snap001-1-300x61.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/figure>\n\n\n\n<p>\n\nOnly need to see running tasks?\n\n<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nget-task -Status &quot;Running&quot;\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"552\" height=\"105\" src=\"http:\/\/192.168.8.14\/wp-content\/uploads\/2019\/11\/snap002-1.png\" alt=\"\" class=\"wp-image-163\" srcset=\"https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2019\/11\/snap002-1.png 552w, https:\/\/www.jasonstreet.com\/wp-content\/uploads\/2019\/11\/snap002-1-300x57.png 300w\" sizes=\"auto, (max-width: 552px) 100vw, 552px\" \/><\/figure>\n\n\n\n<p>Values for -Status can be: Error, Queued, Running, and Success<\/p>\n\n\n\n<p>That is a quick look at getting the running tasks out of a vCenter server. Not as easy as doing it in the C++ client but a lot more possible then in the flash client.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you use the flash client to administer a vCenter server then you will know how bad it is at updating the task list. Here is a handy powershell example of getting a list of running tasks. Only need to see running tasks? Values for -Status can be: Error, Queued, Running, and Success That is&#8230;<\/p>\n","protected":false},"author":1,"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":[5,4],"tags":[29],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-powercli","category-powershell","tag-tasks"],"_links":{"self":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=161"}],"version-history":[{"count":1,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":164,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=\/wp\/v2\/posts\/161\/revisions\/164"}],"wp:attachment":[{"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasonstreet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}