{"id":690,"date":"2011-09-27T17:22:16","date_gmt":"2011-09-27T21:22:16","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=690"},"modified":"2011-09-27T17:22:16","modified_gmt":"2011-09-27T21:22:16","slug":"powercli-vcheck-5-45-updated-export-options","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/scripting\/powercli-vcheck-5-45-updated-export-options\/","title":{"rendered":"PowerCLI vCheck 5.45 &#8211; Updated export options"},"content":{"rendered":"<p>I started working on this update in the airport the Sunday before VMworld 2011.  It is only a minor update to exporting the reports and sending email notifications.  In this update, all of the code to send emails and\/or export reports has been moved to a function near the top of the code and at the very end of the script (where the export code used to be) I added a call to this function.  I think it is now easier to see\/edit\/understand your output options.<\/p>\n<pre>\r\n# Version 5.45- bwuch: Updated export options\r\n<\/pre>\n<p><strong>5.45<\/strong> &#8211; Minor update to the Out-File and Send-MailMessage code; moved into a function in the &#8220;config&#8221; part of the script and then called from the end.<\/p>\n<p><strong>You can download the updated version here: <a href='http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2011\/09\/vcheck5.45.ps1_.txt'>vcheck5.45.ps1<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started working on this update in the airport the Sunday before VMworld 2011. It is only a minor update to exporting the reports and sending email notifications. In this update, all of the code to send emails and\/or export &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/scripting\/powercli-vcheck-5-45-updated-export-options\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"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":[3,4],"tags":[],"class_list":["post-690","post","type-post","status-publish","format-standard","hentry","category-scripting","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=690"}],"version-history":[{"count":8,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/690\/revisions"}],"predecessor-version":[{"id":700,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/690\/revisions\/700"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}