<?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 VM Guest Partition Free Space Remaining Email Alert in VMware PowerCLI Documents</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/VM-Guest-Partition-Free-Space-Remaining-Email-Alert/ta-p/2771529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully this will help someone as I have been looking around for a while and just decided to tackle it myself. Took some snippets from the PowerPack to put this together.&amp;nbsp; I am no coder by any means so suggestions are welcomed however it has been working great for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It generates an email if the amount of space used on a VM's partition is over 89%.&amp;nbsp; There are 3 files needed:&amp;nbsp; email-template.txt ,&amp;nbsp; global-volume-ignore.txt , and systems-to-ignore.txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;email-template.txt - Is the body of the email, this is a code sample to put in:&amp;nbsp; &lt;EM&gt;Disk utilization is " + ("{0:P0}" -f $percentfree) + "&amp;nbsp; on " + $VM.name + " partion is " + $Disk.DiskPath + " and space free is " + ($freespace / 1000) + " GB.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global-volume-ignore.txt - Helpful to exlude certain volumes (/boot, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;systems-to-ignore.txt - Put VM names in here you want to exclude&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run it as scheduled task on a daily basis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jan 2012 18:22:31 GMT</pubDate>
    <dc:creator>krik0011</dc:creator>
    <dc:date>2012-01-09T18:22:31Z</dc:date>
    <item>
      <title>VM Guest Partition Free Space Remaining Email Alert</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/VM-Guest-Partition-Free-Space-Remaining-Email-Alert/ta-p/2771529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hopefully this will help someone as I have been looking around for a while and just decided to tackle it myself. Took some snippets from the PowerPack to put this together.&amp;nbsp; I am no coder by any means so suggestions are welcomed however it has been working great for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It generates an email if the amount of space used on a VM's partition is over 89%.&amp;nbsp; There are 3 files needed:&amp;nbsp; email-template.txt ,&amp;nbsp; global-volume-ignore.txt , and systems-to-ignore.txt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;email-template.txt - Is the body of the email, this is a code sample to put in:&amp;nbsp; &lt;EM&gt;Disk utilization is " + ("{0:P0}" -f $percentfree) + "&amp;nbsp; on " + $VM.name + " partion is " + $Disk.DiskPath + " and space free is " + ($freespace / 1000) + " GB.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;global-volume-ignore.txt - Helpful to exlude certain volumes (/boot, etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;systems-to-ignore.txt - Put VM names in here you want to exclude&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I run it as scheduled task on a daily basis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jan 2012 18:22:31 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Documents/VM-Guest-Partition-Free-Space-Remaining-Email-Alert/ta-p/2771529</guid>
      <dc:creator>krik0011</dc:creator>
      <dc:date>2012-01-09T18:22:31Z</dc:date>
    </item>
  </channel>
</rss>

