{"id":304,"date":"2011-03-30T17:21:53","date_gmt":"2011-03-30T21:21:53","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=304"},"modified":"2011-03-30T17:21:53","modified_gmt":"2011-03-30T21:21:53","slug":"minor-update-to-vcheck-5-31-beta-testers-required","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/scripting\/minor-update-to-vcheck-5-31-beta-testers-required\/","title":{"rendered":"Minor Update to vCheck 5.31 &#8212; beta testers required"},"content":{"rendered":"<p>I typically do not view my vCheck report as an email message&#8230;I have a link to the report on the home screen of my vSphere Client (if you&#8217;d like to see how to do that, please check out this post: <a href=\"http:\/\/enterpriseadmins.org\/blog\/scripting\/vcheck-as-a-vsphere-client-solution-and-application\/\">http:\/\/enterpriseadmins.org\/blog\/scripting\/vcheck-as-a-vsphere-client-solution-and-application\/<\/a>).  However, I&#8217;ve noticed many comments requesting better email support.  From my research, it appears that the problem is likely with Outlook 2007 &#8212; since it does not properly support all cascading style sheets (CSS) properties.  After a little bit of testing, I believe I have found a rather simple way to work around this.  The change adjusts the e-mail output and leaves the standard HTML output file alone.<\/p>\n<p>This is a very minor change and I plan to include it in a future release.  If you get a chance please test it out and report back if it works for you too.<\/p>\n<p>Change line #2158 from<\/p>\n<pre>send-SMTPmail $EmailTo $EmailFrom \"$VISRV vCheck Report\" $SMTPSRV $MyReport<\/pre>\n<p>to<\/p>\n<pre>send-SMTPmail $EmailTo $EmailFrom \"$VISRV vCheck Report\" $SMTPSRV $MyReport.Replace(\"class=`\"dsp \",\"class=`\"\")<\/pre>\n<p>This simply removes one of the CSS tags from the email message body, making the report easier to read from email clients (at this point the format has only been tested with Outlook 2007).<\/p>\n<p>If you need a copy of the vCheck 5.31 version, you can get it here: <a href=\"http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2011\/02\/vCheck5.31.ps1_.txt\">http:\/\/enterpriseadmins.org\/blog\/wp-content\/uploads\/2011\/02\/vCheck5.31.ps1_.txt<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I typically do not view my vCheck report as an email message&#8230;I have a link to the report on the home screen of my vSphere Client (if you&#8217;d like to see how to do that, please check out this post: &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/scripting\/minor-update-to-vcheck-5-31-beta-testers-required\/\">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-304","post","type-post","status-publish","format-standard","hentry","category-scripting","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/304","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=304"}],"version-history":[{"count":2,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/304\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}