<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article ESXi 4.1/5.0 Availability Report in VMware PowerCLI Documents</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/ta-p/2773412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a small application that is designed to output a basic monthly availability report for all hosts over multiple vCenter instances.&amp;nbsp; In order to run the following tool you must have .NET 2.0 and PowerCLI 4.1/5.0 installed.&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="_mcePaste"&gt;The tool generates a detailed report and sends a summary/copy of the report in an email to a given address.&amp;nbsp; The tool requires that the 'Host connection and power state' alarm was enabled during the given month (which is the default setting).&amp;nbsp; Here are the guidelines that it follows:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the connection to a host was lost and the host wasn't in maintenance mode, it counts against the availability percentage&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;If the connection to a host was lost and the host was in maintenance mode, it doesn't count again it&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, it only counts &lt;EM&gt;&lt;STRONG&gt;unplanned&lt;/STRONG&gt; hardware downtime&lt;/EM&gt; against the percentage (for example, when a production host crashes with a PSOD). Here is a sample of the information contained in the detailed log file:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;xenserv3.domain.com - Uptime: &lt;SPAN style="text-decoration: underline;"&gt;90 Days 10:37:51&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Lost Connection Time: 0 seconds&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Availability: 100%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;xenserv4.domain.com - Uptime: &lt;SPAN style="text-decoration: underline;"&gt;1 Days 20:33:17&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 1:39:41 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Green to Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Re-established&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 2:53:12 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Red to Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enter Maintenance Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:13:05 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Host xenserv4.domain.com in LAB has entered maintenance mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:16:39 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Green to Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Re-established&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:28:17 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Red to Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Exit Maintenance Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:28:46 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Host xenserv4.domain.com in LAB has exited maintenance mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MM: &lt;STRONG&gt;(12/21/2010 3:13:05 PM - 12/21/2010 3:28:46 PM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; CON: &lt;STRONG&gt;(12/21/2010 1:39:41 PM - 12/21/2010 2:53:12 PM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CON: &lt;EM&gt;(12/21/2010 3:16:39 PM - 12/21/2010 3:28:17 PM) - &lt;STRONG&gt;in MM&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Lost Connection Time: 4411.61 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Availability: 99.8298%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how the resulting email will appear:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;(Attachment:&amp;nbsp; esxi-12-2010.txt)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESXi Availability Report - December, 2010&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; xenserv3.domain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avail. (Month): 100%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current Uptime: 90 Days 10h 37m 51s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lost Con. (Month): 0 Days 0h 0m 0s&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; xenserv4.domain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avail. (Month): 99.8298%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current Uptime: 1 Days 20h 33m 17s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lost Con. (Month): 0 Days 1h 13m 31s&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have this scheduled to run on the first of every month at 12:15am with no parameters, which will provide us (via a distribution address defined in the .config file) with a report for the previous month.&amp;nbsp; Here are the parameters that need to be entered into the .config file:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- VCs - separate the FQDNs of all vCenter servers with commas --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="VCs" value="vc1.domain.com,vc2.domain.com" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- Usernames - separate the usernames of each vCenter with a comma --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="Usernames" value="vc1username,vc2username" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- Passwords - separate the passwords of each vCenter with a comma --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="Passwords" value="vc1userpassword,vc2userpassword" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- OutDir - supply the output directory of the report --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="OutDir" value="C:\ESXAR\" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- OutFilePrefix - supply the prefix that will be appended to the log file (*prefix*[timestamp].txt) --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="OutFilePrefix" value="esxi-" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- ToEmail - supply the email address that the report will be sent to --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="ToEmail" value="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:emailrecipient@company.com"&gt;emailrecipient@company.com&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- FromEmail - supply the email address that the report will appear to come from --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="FromEmail" value="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:emailsender@company.com"&gt;emailsender@company.com&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- SubjectEmail - supply the subject of the email --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="SubjectEmail" value="ESXi Availability Report - " /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;lt;!-- SMTPServer - supply a valid SMTP server --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="SMTPServer" value="smtp.company.com" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- Verbose - (t/f) enter 't' to record *all* events to the log file --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="Verbose" value="f" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source code has been provided in case anyone would like to expand it or see how it works for their own projects.&amp;nbsp; The above information can also be found in the included readme file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, and please share any suggestions or modifications with the community!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 13:32:25 GMT</pubDate>
    <dc:creator>conramic</dc:creator>
    <dc:date>2010-12-29T13:32:25Z</dc:date>
    <item>
      <title>ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/ta-p/2773412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached is a small application that is designed to output a basic monthly availability report for all hosts over multiple vCenter instances.&amp;nbsp; In order to run the following tool you must have .NET 2.0 and PowerCLI 4.1/5.0 installed.&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="_mcePaste"&gt;The tool generates a detailed report and sends a summary/copy of the report in an email to a given address.&amp;nbsp; The tool requires that the 'Host connection and power state' alarm was enabled during the given month (which is the default setting).&amp;nbsp; Here are the guidelines that it follows:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the connection to a host was lost and the host wasn't in maintenance mode, it counts against the availability percentage&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;If the connection to a host was lost and the host was in maintenance mode, it doesn't count again it&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, it only counts &lt;EM&gt;&lt;STRONG&gt;unplanned&lt;/STRONG&gt; hardware downtime&lt;/EM&gt; against the percentage (for example, when a production host crashes with a PSOD). Here is a sample of the information contained in the detailed log file:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;xenserv3.domain.com - Uptime: &lt;SPAN style="text-decoration: underline;"&gt;90 Days 10:37:51&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Lost Connection Time: 0 seconds&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Availability: 100%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;xenserv4.domain.com - Uptime: &lt;SPAN style="text-decoration: underline;"&gt;1 Days 20:33:17&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 1:39:41 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Green to Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Re-established&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 2:53:12 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Red to Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Enter Maintenance Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:13:05 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Host xenserv4.domain.com in LAB has entered maintenance mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Lost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:16:39 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Green to Red&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Host Connection Re-established&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:28:17 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alarm 'Host connection and power state' on xenserv4.domain.com changed from Red to Green&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Exit Maintenance Mode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time: 12/21/2010 3:28:46 PM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Host xenserv4.domain.com in LAB has exited maintenance mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; MM: &lt;STRONG&gt;(12/21/2010 3:13:05 PM - 12/21/2010 3:28:46 PM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; CON: &lt;STRONG&gt;(12/21/2010 1:39:41 PM - 12/21/2010 2:53:12 PM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CON: &lt;EM&gt;(12/21/2010 3:16:39 PM - 12/21/2010 3:28:17 PM) - &lt;STRONG&gt;in MM&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Lost Connection Time: 4411.61 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; Availability: 99.8298%&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&amp;nbsp; -----&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how the resulting email will appear:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;EM&gt;(Attachment:&amp;nbsp; esxi-12-2010.txt)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ESXi Availability Report - December, 2010&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; xenserv3.domain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avail. (Month): 100%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current Uptime: 90 Days 10h 37m 51s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lost Con. (Month): 0 Days 0h 0m 0s&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp; xenserv4.domain.com&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Avail. (Month): 99.8298%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current Uptime: 1 Days 20h 33m 17s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lost Con. (Month): 0 Days 1h 13m 31s&lt;/P&gt;&lt;P&gt;--------------------------&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have this scheduled to run on the first of every month at 12:15am with no parameters, which will provide us (via a distribution address defined in the .config file) with a report for the previous month.&amp;nbsp; Here are the parameters that need to be entered into the .config file:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- VCs - separate the FQDNs of all vCenter servers with commas --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="VCs" value="vc1.domain.com,vc2.domain.com" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- Usernames - separate the usernames of each vCenter with a comma --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="Usernames" value="vc1username,vc2username" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- Passwords - separate the passwords of each vCenter with a comma --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="Passwords" value="vc1userpassword,vc2userpassword" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- OutDir - supply the output directory of the report --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="OutDir" value="C:\ESXAR\" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- OutFilePrefix - supply the prefix that will be appended to the log file (*prefix*[timestamp].txt) --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="OutFilePrefix" value="esxi-" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- ToEmail - supply the email address that the report will be sent to --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="ToEmail" value="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:emailrecipient@company.com"&gt;emailrecipient@company.com&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- FromEmail - supply the email address that the report will appear to come from --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="FromEmail" value="&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:emailsender@company.com"&gt;emailsender@company.com&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- SubjectEmail - supply the subject of the email --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="SubjectEmail" value="ESXi Availability Report - " /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;lt;!-- SMTPServer - supply a valid SMTP server --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="SMTPServer" value="smtp.company.com" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;lt;!-- Verbose - (t/f) enter 't' to record *all* events to the log file --&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add key="Verbose" value="f" /&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source code has been provided in case anyone would like to expand it or see how it works for their own projects.&amp;nbsp; The above information can also be found in the included readme file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, and please share any suggestions or modifications with the community!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 13:32:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/ta-p/2773412</guid>
      <dc:creator>conramic</dc:creator>
      <dc:date>2010-12-29T13:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773413#M35</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey there.&lt;/P&gt;&lt;P&gt;The program runs fine for a few minutes, but after 20 hosts, I get an error message: "Index was out of range. Must be non-negative and less than the size of the collection. Parameter Name: Index "&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;I'm running Windows 7 32bit. I'm trying to run this against one of my VC's with 80 or so hosts. Ideally, I'd like it to run against my entire environment (5 VC's, 475 hosts or so.)&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2011 21:05:26 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773413#M35</guid>
      <dc:creator>Mike_in_Irving</dc:creator>
      <dc:date>2011-08-12T21:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773414#M36</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fixed a few bugs in the program awhile back but never went back to publish the latest version.&amp;nbsp; If you get a chance, please try downloading the newest archive (I replaced the .zip files in the original post) and giving it another shot.&amp;nbsp; If it doesn't seem to fix your problem let me know and we can take another look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Mike,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 13:24:20 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773414#M36</guid>
      <dc:creator>conramic</dc:creator>
      <dc:date>2011-08-15T13:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773415#M37</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Mike.&lt;/P&gt;&lt;P&gt;Still no luck. It shows the first host and then generates an Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.&lt;/P&gt;&lt;P&gt;at ESXAR.ESXAR.GenerateReport()&lt;/P&gt;&lt;P&gt;at ESXAR.ESXAR.Main(String[] args)&lt;/P&gt;&lt;P&gt;I don't expect you to work on this until it works for me, I already appreciate your efforts on this. Looking at it from a slightly different angle, would you be able to just share with me the PowerShell code you are using? I've looked at your sourcecode and I'm just not a programmer &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.vmware.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;If you could share the basic PowerCLI calls with me, I could do the output filtering etc myself, but I've been trying to come up with it myself and have not had a lot of success...&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 14:54:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773415#M37</guid>
      <dc:creator>Mike_in_Irving</dc:creator>
      <dc:date>2011-08-15T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773416#M38</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you happen to have a version of this program that works with 5.0? Just curious. Thanks in advance.&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 14:15:18 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773416#M38</guid>
      <dc:creator>dtackett</dc:creator>
      <dc:date>2012-10-29T14:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773417#M39</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Duane, I haven't touched the code for this in quite some time.&amp;nbsp; However, I believe I did add support for 5.0 late last year.&amp;nbsp; I will attach the latest binary to this document - please let me know if it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&amp;nbsp; The attached ESXAR_5.ZIP archive contains the lastet version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 15:23:22 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773417#M39</guid>
      <dc:creator>conramic</dc:creator>
      <dc:date>2012-10-29T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773418#M40</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the quick reply Mike, but when I ran that executable I get the following error:&lt;/P&gt;&lt;P&gt;Unhandled Exception: System.NullReferenceException: Object reference not set to&lt;BR /&gt;an instance of an object.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ESXAR.ESXAR.GenerateReport()&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ESXAR.ESXAR.Main(String[] args)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas what could be causing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance, I appreciate all the help I can get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 18:25:41 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773418#M40</guid>
      <dc:creator>dtackett</dc:creator>
      <dc:date>2012-10-29T18:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773419#M41</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to tell just from that info.&amp;nbsp; Could you please extract the two files in ESXAR_debug into the same directory (overwrite) and let me know what error message the console generates on the next run?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2012 19:29:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773419#M41</guid>
      <dc:creator>conramic</dc:creator>
      <dc:date>2012-10-29T19:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773420#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal"&gt;Optional usage:&amp;nbsp; ESXAR.exe 'month-num' 'year-4-digit-num' ['to-email-address']&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;System.NullReferenceException: Object reference not set to an instance of an ob&lt;/P&gt;&lt;P class="MsoNormal"&gt;ect.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at ESXAR.ESXAR.GenerateReport() in C:\Users\mxc228.SW\Documents\Visual Studi&lt;/P&gt;&lt;P class="MsoNormal"&gt; 2010\Projects\ESXAR\ESXAR\Program.cs:line 138&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;Unhandled Exception: System.IO.IOException: The process cannot access the file&lt;/P&gt;&lt;P class="MsoNormal"&gt;C:\ESXAR\esxi-10-2012.txt' because it is being used by another process.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,&lt;/P&gt;&lt;P class="MsoNormal"&gt;nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions&lt;/P&gt;&lt;P class="MsoNormal"&gt;ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,&lt;/P&gt;&lt;P class="MsoNormal"&gt;FileShare share)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String&lt;/P&gt;&lt;P class="MsoNormal"&gt;mediaType)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at System.Net.Mail.AttachmentBase..ctor(String fileName)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at System.Net.Mail.Attachment..ctor(String fileName)&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at ESXAR.ESXAR.SendReport(ArrayList objs) in C:\Users\mxc228.SW\Documents\Vi&lt;/P&gt;&lt;P class="MsoNormal"&gt;ual Studio 2010\Projects\ESXAR\ESXAR\Program.cs:line 365&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp; at ESXAR.ESXAR.Main(String[] args) in C:\Users\mxc228.SW\Documents\Visual St&lt;/P&gt;&lt;P class="MsoNormal"&gt;dio 2010\Projects\ESXAR\ESXAR\Program.cs:line 99&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;The funny thing is that we never created a file with that name, so I am not sure what's going on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 14:03:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773420#M42</guid>
      <dc:creator>dtackett</dc:creator>
      <dc:date>2012-11-02T14:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773421#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering if you had any ideas on the logs I provided. Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Duane&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 18:46:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773421#M43</guid>
      <dc:creator>dtackett</dc:creator>
      <dc:date>2012-11-13T18:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773422#M44</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the source code available to share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2012 12:07:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773422#M44</guid>
      <dc:creator>BenWood</dc:creator>
      <dc:date>2012-11-22T12:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773423#M45</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First 23 host, script runs fine I see log files. But 24th host script is still waiting to be completed. How can I troubleshooot this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 11:39:57 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773423#M45</guid>
      <dc:creator>vlife201110141</dc:creator>
      <dc:date>2013-01-29T11:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773424#M46</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="jive-rendered-content"&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have the source code available to share?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;I wish to build a version that works with ESXi 5.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;Tony&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 10:24:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773424#M46</guid>
      <dc:creator>TonyCrescence</dc:creator>
      <dc:date>2013-03-04T10:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773425#M47</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The source code is attached.&lt;/P&gt;&lt;P&gt;Don't you see the attachments ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 10:31:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773425#M47</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2013-03-04T10:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773426#M48</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Luc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source code isn't attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is executable only with file config.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 10:48:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773426#M48</guid>
      <dc:creator>TonyCrescence</dc:creator>
      <dc:date>2013-03-04T10:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773427#M49</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is only the pdb file (in &lt;A _jive_internal="true" href="https://communities.vmware.com/servlet/JiveServlet/download/14433-8-97957/ESXAR_debug.zip"&gt;ESXAR_debug.zip&lt;/A&gt; ), no source code .&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://communities.vmware.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 11:40:07 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773427#M49</guid>
      <dc:creator>TonyCrescence</dc:creator>
      <dc:date>2013-03-04T11:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773428#M50</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have re-attached the source code for this project and removed the debug package.&amp;nbsp; It seems that I can only attach up to three files to the post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please feel free to hack away at it all you want (note that this was originally written in C# - a PowerShell version would be a nice evolution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would have developed compatibility for 5.1 myself, but I am no longer working in the virtualization space and have no need for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 13:55:19 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773428#M50</guid>
      <dc:creator>conramic</dc:creator>
      <dc:date>2013-03-04T13:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773429#M51</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you conramic ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will build a version that works with ESXi 5.1 and i will share it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 14:02:02 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773429#M51</guid>
      <dc:creator>TonyCrescence</dc:creator>
      <dc:date>2013-03-04T14:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: ESXi 4.1/5.0 Availability Report</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773430#M52</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any luck on the 5.1 version?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 22:07:52 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/ESXi-4-1-5-0-Availability-Report/tac-p/2773430#M52</guid>
      <dc:creator>cfizz34</dc:creator>
      <dc:date>2013-05-01T22:07:52Z</dc:date>
    </item>
  </channel>
</rss>

